Archive for the ‘shell’ tag
Linux: Diff between two folders
To find the files which are in one and not in the other:
$ diff -r folder1/ folder2/
To find the file content differences:
$ diff -r -N folder1/ folder2/
Crontab quickies
When searching the Web for setting hourly cron job, I was pleasantly introduced to a simplified syntax:
@hourly <application>
For understanding the shortcut commands, go through the complete documentation of the crontab syntax by typing man 5 crontab in your command-prompt.