Search Results

Search: Posts Made By: silversurfer202
12,614
Posted By silversurfer202
rename folders?
renaming directories works with

> for file in *
> do
> case $file in
> ??) mv "$file" "0$file" ;;
> ?) mv "$file" "00$file" ;;
> esac
> done

so please forget about this last...
12,614
Posted By silversurfer202
Thanks...
I used

for file in *.ppm
do
case $file in
??.ppm) mv "$file" "0$file,ppm" ;;
?.ppm) mv "$file" "00$file,ppm" ;;
esac
done

which works seamlessly ;)

Thanks for the...
12,614
Posted By silversurfer202
script to change filename with numbers
ok, this one is definitely too hard for my shell-script-skills.
Hopefully, there is somebody who can help me with this:

I have a folder with files in it named

0.ppm
10.ppm
2.ppm
...
5.ppm...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 12:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy