One of my friend is non-technical and he wanted to use transfer contents from one directory to another. In order to do such task , I wrote a shell script for him so that he can use it in very simple way. I did this as part of fun activity but i think such scripts will help a lot.
code - http://code.google.com/p/just-command/ Example use -- * $just copy all .pdf files from /home/akash/Documents to /media/backup * $just delete all .exe files from /media/infected * $just move all .jpg files from /home/akash/images to /media/backup/images * $just delete all README.txt files from /media/software Syntax : $ just <command> all <file-extension> files from <from-dir> to <to-dir> plz comment and improve it by finding bug. I know my script is badly written !! -- ┌─────────────────────────┐ │ Narendra Sisodiya ( नरेन्द्र सिसोदिया ) │ Web : http://narendra.techfandu.org │ Twitter : http://tinyurl.com/dz7e4a └─────────────────────────┘ --~--~---------~--~----~------------~-------~--~----~ Do you have another question? Click here - http://groups.google.com/group/iitdlug/post Read archive - http://www.mail-archive.com/[email protected]/ l...@iitd community mailing list -- http://groups.google.com/group/iitdlug -~----------~----~----~----~------~----~------~--~---
