The rename command…



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.
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: Howto restore user choice in Hardy media handling
    ... photo media, in gnome-volume-manager. ... Possibly a bug? ... bugs rather than nautilus :-) ... perhaps a "Custom" option that lets you specify your own command. ...
    (Ubuntu)
  • Re: Wireless problem with Fedora
    ... >> bug in Bugzilla. ... > service network start ... These should cause a working internet connection, ... bash: [command] command not found. ...
    (linux.redhat)
  • Re: Howto restore user choice in Hardy media handling
    ... photo media, in gnome-volume-manager. ... Possibly a bug? ... bugs rather than nautilus :-) ... command in the g-v-m dialogue. ...
    (Ubuntu)
  • Wolfpack 4.3.10 Server Release
    ... Plug file descriptor leak in add command. ... This feature was flawed (it encourages players to ... Redesign of synchronization between commands, update and shutdown, ... The bug allowed players to delay ...
    (rec.games.empire)
  • Re: Boot time taking 3.5 minutes at start-up
    ... It should work, there are no commas, the proper command is: ... When I reinstalled TCP/IP, per the instructions, it obviously did not connect me back to the Internet. ... I went through Networking and Dial-Up, selected Local Area Network/Properties, but when I rebooted, I did not have the option of selecting TCP/IP, so I selected Client for Microsoft Networks and installed that. ...
    (microsoft.public.win2000.general)