The rename command…
Johnny Rosenberg
gurus.knugum at gmail.com
Mon Aug 25 14:00:10 UTC 2008
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080825/de36c55e/attachment.html>
More information about the ubuntu-users
mailing list