Monday, September 7, 2009

Batch remove/rename files in terminal


# Batch git remove files

for f in `ls *.feature`
do git rm ${f}
done

# Batch git rename files

for f in `ls *.feature`
do git mv ${f}
done

No comments:

Blog Archive