|
|
A script to remove spaces from filenames
#!/usr/bin/perl -w
A script to remove spaces from filenames
>out;ls -1 | grep ' ' | tr ' ' '!' | while read a ; do b=`echo $a | tr '!' '_'`; echo "mv ,$a, $b" ;done | tr , \' | tr ! ' ' > out ; . ./out; \rm -f out |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|