Re: The rename command…



Sorry all for the previous, empty post.

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 don't think it's a serious bug. I would call it bad design. :-)

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.

find . -type l -print0 | xargs -0 rename -v 's/Link to //'

[x] ulf

--
Your eyes are weary from staring at the Monitor. You feel sleepy. Notice
how restful it is to watch the cursor blink. Close your eyes. The
opinions stated above are yours. You cannot imagine why you ever felt
otherwise.


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Public disclosure of discovered vulnerabilities
    ... But the way I got people to change the base install when they use my ... I ain't reporting any bug to no-one - if I did Theo would close it, ... But his eyes they know all things ... You must stop imagining all this ...
    (sci.crypt)
  • Re: save attribute for module variables
    ... > And why should these two types of initialization be different in the eyes ... > of the standard? ... I consider this a bug. ...
    (comp.lang.fortran)
  • Wayne Hale and the management shake-up
    ... I was just wondering if Wayne Hale is staying or leaving. ... eyes sometimes bug out frighteningly during press briefings, ...
    (sci.space.shuttle)
  • Re: Whats the best bug-light?
    ... Not as bad as a daylight bulb, but still, ... That's a bug zapper. ... Once we found out other animals had eyes, ... dog whistles. ...
    (alt.home.repair)