Script to delete duplicate files - Programming On Unix
Users browsing this thread: 3 Guest(s)
|
|||
But why should shell scripts be treated differently from other programs in my path? To me it's precisely that I don't know and don't have to know how a program works, how it's implemented, etc. that I find interesting about a unix environment. For some reason discriminating against shell scripts being interactive or deleting files (One can't argue te user doesn't know, he has to consciously call the script and give it valid input), seems arbitrary.
And regarding your script, I remember doing something lile that before I had this script, but I didn't always want to delete the first file it found, but I had to manually scan the output and run rm for those files I wanted to delete. Saying that writing a script that helps me automate the process by glueing the steps together is bad style (especially if I know that it's output is never parsed nor has to be parsed by other programs), seems wierd. |
|||
Messages In This Thread |
Script to delete duplicate files - by pkal - 17-11-2017, 06:01 PM
RE: Script to delete duplicate files - by z3bra - 18-11-2017, 07:07 PM
RE: Script to delete duplicate files - by pkal - 18-11-2017, 09:26 PM
RE: Script to delete duplicate files - by z3bra - 19-11-2017, 03:38 PM
RE: Script to delete duplicate files - by pkal - 19-11-2017, 04:50 PM
RE: Script to delete duplicate files - by budRich - 19-11-2017, 10:28 PM
RE: Script to delete duplicate files - by z3bra - 20-11-2017, 07:38 AM
RE: Script to delete duplicate files - by budRich - 20-11-2017, 09:25 AM
RE: Script to delete duplicate files - by venam - 20-11-2017, 09:40 AM
RE: Script to delete duplicate files - by budRich - 20-11-2017, 09:55 AM
RE: Script to delete duplicate files - by z3bra - 20-11-2017, 11:09 AM
|