Search Results

Search: Posts Made By: Nateshift
1,119
Posted By Yoda
for dir in *bla* do if [ -d "$dir" ] ...
for dir in *bla*
do
if [ -d "$dir" ]
then
sfx="${dir%% *}"
mv "$dir" "${dir#* } $sfx"
fi
done
Showing results 1 to 1 of 1

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