[Linux-disciples] Troubles with 'rename'

Adam Rosi-Kessel adam at rosi-kessel.org
Sat Apr 30 09:55:00 EDT 2005


On Sat, Apr 30, 2005 at 09:45:54AM -0400, Stephen R Laniel wrote:
> On Sat, Apr 30, 2005 at 09:43:34AM -0400, Adam Rosi-Kessel wrote:
> > I use a little script called lr, which stands for 'lower recursive'.  You
> > could take out the lowercase part if you want:
> Cool; I'll try that out. But why isn't 'find' working the
> way I think it should? What am I misunderstanding?

I don't think rename can handle that kind of target:

# mkdir some\ dir
# touch some\ dir/some\ file
# ls some\ dir
some file
# rename "s/ /_/g" some\ dir/some\ file
Can't rename some dir/some file some_dir/some_file: No such file or directory
-- 
Adam Rosi-Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050430/0c91a3ab/attachment.pgp


More information about the Linux-disciples mailing list