Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Script does not operate as advertised.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Script does not operate as advertised.
Authored by: SeanAhern on Sep 13, '05 03:55:48PM

I just checked out the 'trash' script from that package. It does <i>not</i> operate like the Trash, only from the command line. The script merely moves the file to the ~/.Trash folder, checking to make sure the subpath names are created. But what it does not do is check to see if there is a name collision. That is, it does not check if it would be overwriting an existing file in the trash. That's a serious omission. In addition, it only uses the UNIX 'mv' command, rather than using CpMac or ditto or something else.

I would instead use the rmm script quoted above.



[ Reply to This | # ]