How To Set Timer To Take Screenshot On Mac Using Terminal
neMo
Comments:(2)
If you want to take screenshots of any movie or application with a specific time interval on Mac OS X then manually it is a little bit difficult task to manage. So, here we are writing a simple method which let you allow to take unlimited screenshots automatically and you may also set time interval between the screenshots according to your requirement.
See also:
How to Set a Folder to Save Screen Shots on Mac
How to Take Screen Shots on Mac with Keyboard Short Keys
How to Take ScreenShot Via Terminal On Mac
How To Set Timer To Take Screenshot On Mac Via Terminal
Step 1
Go to Finder
Navigate to Applications > Utilities and launch Terminal
Step 2
Type the following command in Terminal and hit Enter
while [ 1 ];do vardate=$(date +%d\-%m\-%Y\_%H.%M.%S); screencapture -t jpg -x ~/Desktop/TrickyWays/$vardate.jpg; sleep 10; done
where:
vardate = used to give the names to screenshots which will be the system date & time.
jpg = the format of screenshots.
Desktop/TrickyWays = folder to save screenshot.
sleep = time interval between screenshots.
done = ends the while loop.
Press Ctrl+C to stop this loop
Or use the following command
i=1;while [ 1 ];do screencapture -t jpg -x ~/Desktop/TrickyWays/$i.jpg; let i++;sleep 6; done
where:
i = variable which is used to give the names to screenshots
jpg = the format of screenshots
Desktop/TrickyWays is folder to save screenshot
sleep = time interval between screenshots
done = ends the while loop
Press Ctrl+C to stop this loop
For more stuff like this you can: Subscribe to RSS Feed or Get Updates Via Email or Follow us on Twitter
Tags: Capture Desktop, Capture Screen Mac, Mac Terminal, Screen Shot Mac, Screenshots
Share/Save this Post
Comments:
Leave a Reply












thanks for mac os x tips
Nice terminal tip to take screenshot on mac