Thread: Pausing/Resuming Terminal Script
08-23-2013, 12:19 AM #1
Pausing/Resuming Terminal Script
- Member Since
- Aug 23, 2013
I found a script online to take screen shots at timed intervals (I'm using it to make timelapse videos). I do not know anything about this stuff, so I'm hoping someone here can help.
Basically, I want to be able to pause and resume this script somehow. Instead of stopping it when needed, checking the screen shot folder for the last numbered file, back go Terminal, UP arrow to see last command, CTRL + A to go to the beginning, changing i=1; to last file number, Enter.
That's quite inconvenient as I have to do it every time I check instant messages and what not.
Here's the script:
i=1; while [ 1 ];do screencapture -t png -x ~/Pictures/screenshots/$(printf "%05d" $i).png; let i++; sleep 2; done
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By rickwiker in forum OS X - Operating SystemReplies: 0Last Post: 02-10-2015, 11:37 PM
By weasel360 in forum OS X - Apps and GamesReplies: 5Last Post: 08-13-2012, 04:39 PM
By Straitsfan in forum OS X - Apps and GamesReplies: 0Last Post: 01-30-2011, 09:04 PM
By TheInvsbleMan in forum OS X - Apps and GamesReplies: 2Last Post: 05-27-2008, 11:12 PM
By ebay in forum Running Windows (or anything else) on your MacReplies: 7Last Post: 04-28-2008, 06:43 PM