Hi, Some thoughts below:
--- On Sat, Sep 26, 2009 at 5:10 PM, narendra sisodiya <[email protected]> wrote: | * $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 \-- * If you provide multiple options, it is best to implement each one in a separate function. * The other reason why all options are not provided in a single command, is as per *nix philosophy, that one writes one program to do one task, and to do it very well. So, you can combine several commands, like, mv, cp, rm through redirects (">"), or pipes ("|"). See: http://www.faqs.org/docs/artu/ch01s06.html#id2877537 SK -- Shakthi Kannan http://www.shakthimaan.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
