Re: Renaming files in one shot

2007-01-26 Thread Dhénin Jean-Jacques
# more ~/bin/renomme NUM=$1 shift NOUVEAU=`echo $* | sed 's/ /_/g' ` find . -inum $NUM -exec ln {} $NOUVEAU \; 2007/1/26, Vittorio <[EMAIL PROTECTED]>: Under a directory I have many pdf files named according to M$ Windows rules, that is: Marylin Monroe.pdf James Stewart.pdf Alice in Wonderlan

Re: Renaming files in one shot

2007-01-26 Thread Matthias Apitz
El día Friday, January 26, 2007 a las 02:36:03PM +0100, Vittorio escribió: > Under a directory I have many pdf files named according to M$ Windows > rules, that is: > > Marylin Monroe.pdf > James Stewart.pdf > Alice in > Wonderland.pdf > Ludwig Van Beethoven.pdf > . > . > > Now I'd lik

Renaming files in one shot

2007-01-26 Thread Vittorio
Under a directory I have many pdf files named according to M$ Windows rules, that is: Marylin Monroe.pdf James Stewart.pdf Alice in Wonderland.pdf Ludwig Van Beethoven.pdf . . Now I'd like to rename them ** IN ONE SHOT ** (some more steps would be acceptable anyway!) deleting all the