# 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
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 blanks, that is

MarylinMonroe.pdf
JamesStewart.pdf
AliceinWonderland.pdf
LudwigVanBeethoven.pdf
........
........

How can I do that?

Ciao
Vittorio
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



--
jjd
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to