My Headlines

Thursday, February 19, 2009

Rename Multiple File

Thursday, February 19, 2009

wget is a downloader software who most populer in the world, especially in opensource world. But wget doesn't clean all of your download file from URI-escape character. This code maybe can help you :

#!/usr/bin/bash

for a in *;do
newfilename='echo $a|sed -e's/%20/\\/g'';
mv "@a""$newfilename";
done



Related Posts



0 comments:

Post a Comment

 
Copyright © Share Knowledge in OpenSource | Powered by Blogger | Template by Blog Go Blog