for prefixing i use

Code: 
for i in * ; do mv $i [sitename]_${i#} ; done
but your one's working too...


unfortunately the suffix is still not working...when executed it shows...

mv: cannot stat `\223102-AF.rar\224': No such file or directory

any idea why?
Crucify Reviewed by Crucify on . Renaming Multiple Files in SSH need a little help with renaming multiple files.... I can batch rename files to add Prefixes or replace blank spaces to underscores... but what I am unable to do is to add suffixes to all the files in a directory I have files such as filename.rar filename2.rar filename3.rar Rating: 5