On Sat, Sep 13, 2003 at 01:11:52AM +0100, Colin Watson wrote: > On Fri, Sep 12, 2003 at 04:47:35PM -0700, Dweeil Brock wrote: > > trying to rename a folder and recieve the following error message: > > > > Bare word "foldername" not allowed while "strict subs" in use > > Don't use 'rename' to move a single directory; use 'mv'. See 'man > rename' for what it does.
I knew rename was for something else but I never used it. As I read how this command works, it is cool. For example, to rename all files matching "*.bak" to strip the exten- sion, you might say rename 's/\.bak$//' *.bak Perl expression is used here :) AUTHOR: Larry Wall -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]