I want to code a shell script which will do the following:check for new folders in foler XYZ , will make a cron that opens the script every 30minsif NEW folders found = use RAR and rar those folders like they are named .XYZ Main Folder:-Blububb Changed: 7.03.2014 -> create rar -> Blubb.rar So I need some little help in realizing this / tricks tipps how I should start this.#!bin/bashfor all in `find / -name rpc-backup* -type d -print`do#create archiverar -a -k -v250000k /home/testuser/rar1.rar /home/testuser/rpc-backup1doneSo you see I dont have much so far , I need first of all a find command which looks only for new files or changed after the date (7.03.2014) , then also my rar process has to rar every folder he gets individual and not just one big rar where all my folders are in, i want a single rar for every single folder.would appreciate ya'll help.thanks
RAR a folder automatically every x minutes
rar