Search Results

Search: Posts Made By: sahil_jammu
2,416
Posted By Peasant
Something like this ? find $PWD -name '.git'...
Something like this ?

find $PWD -name '.git' -type d | while read line
do echo "mv $line $(dirname $line).git"
done


You can apply similar to next actions executing rm $line/* and touch...
Showing results 1 to 1 of 1

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