On 06 April 2007 20:32, [EMAIL PROTECTED] wrote:

> printf "mv %-200s \"%s\"\n" "-f \"$DIR/"$FILE"\"" "$DIR"/"$NEWNAME" >>
> doit.sh 

printf "mv %-200s \"%s\"\n" "-f \"$DIR/"$FILE"\"" "$DIR"/"$NEWNAME~" >>doit.sh

printf "mv %-200s \"%s\"\n" "-f "$DIR"/"$NEWNAME~" "$DIR"/"$NEWNAME" >>doit.sh


 
> The typical command in the doit.sh file looks like the following line.
> 
> mv -f "file_to_be_rename.ext" "File_To_Be_Rename.ext"


mv -f "file_to_be_rename.ext" "File_To_Be_Rename.ext~"
mv -f "File_To_Be_Rename.ext~" "File_To_Be_Rename.ext"




    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to