The rename command…

Ulf Rompe Ulf.Rompe at icem.com
Mon Aug 25 14:35:34 UTC 2008


On Mo, 2008-08-25 at 16:00 +0200, Johnny Rosenberg wrote:
> Since there is a serious bug in Nautilus, that adds the very
> unnecessary text "Link to " to a link created with Ctrl+Shift
> +Drag&Drop, I searched the Internet for a way to remove that
> ridiculous part of the file name, and I came up with this:
> 
> 
> rename -v 's/Länk till //' *
> 
> Or, if your language is English:
> 
> rename -v 's/Link to //' *
> 
> However, there doesn't seem to be an option for recursivity built in
> to that command. I am not good with scripts, but I am sure there is a
> way around that.
> 
> What could I add to this command to also make it work in all the
> subfolders of the current folder?
> 
> J.R.
> 
> 
> 
> 
> 
> 
> 

[x] ulf 

-- 
"I heard if you play the Windows-XP-CD backwards, you get a satanic message."
"That's nothing, if you play it forward, it installs Windows XP"





More information about the ubuntu-users mailing list