Hi gurus,
I have this nifty command which finds and renames files wthat have a colon : in them. It works well on my ubuntu box at home, but I can't seem to get it to run properly at work. Any one have any idea why that would be and how I can get around it?
The find command on it's own returns the correct results.
Quote:
find Directory_to_search/ -name "*:*" -exec rename -v 's/:/#/' {} +
|
Home - ubuntu build from a couple months ago.
work - CentOS 2.16.0 (old one from 2007)
On a side note - can anyone think of a reason I shouldn't replace the : with a #? I was going to use # so it was easy to revert it back later.
Thanks in advance.