To free up disk space, it’s helpful to know exactly what is using disk space on your Mac. A hard disk analysis tool like Disk Inventory X will scan your Mac’s hard disk and display which folders and files are using up the most space. You can then delete these space hogs to free up …
Category Archives: OS
How do I use Wget to download all Images into a single Folder
wget -nd -r -l 2 -A jpg,jpeg,png,gif http://example.com
Download whole page from terminal
You can install it with brew install wget or sudo port install wget.
Downloading Folders to my Local via SSH
#scp -r user@host:/path/to/folder/ local-copy-of-folder If you have SSH keys set up, you can tab-complete remote files/folders.
How to pass password to scp command
Use sshpass: sshpass -p “password” scp -r firstname.lastname@example.org:/some/remote/path /some/local/path
Linux reboot system with cron
Edit crontab: sudo crontab -e The first time you might have to choose your preferred editor (like nano) Insert a line like 0 4 * * * /sbin/shutdown -r +5 at the bottom. Explanation: m h dom mon dow command minute hour dayOfMonth Month dayOfWeek commandToRun so the line 0 4 * * * /sbin/shutdown …