Search Results

Search: Posts Made By: VimNewUser
4,331
Posted By rdcwayx
for file in $(ls *.txt) do new=$(echo...
for file in $(ls *.txt)
do
new=$(echo $file |sed "s/Apples/Oranges/")
mv $file $new
done
4,331
Posted By rdcwayx
so any reason that you don't like to use mv...
so any reason that you don't like to use mv command to rename them?
Showing results 1 to 2 of 2

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