One can rename a file with git mv however, if you try to use this technique to change the case of the filename it will fail and you’ll get fatal: destination exists. I prefer to keep all my filenames lowercase, so getting this to work is important to me. If I modified the filename case […]
command line
Replace Across Multiple Files
Replace All Instances of wolf with dog From the command line run ack ‘wolf’ -l –print0 | xargs -0 sed -i ” ‘s/wolf/dog/g’
Command Line List Files in Tree View
List all subfolders with formatted output ls -R | grep “:$” | sed -e ‘s/:$//’ -e ‘s/[^-][^\/]*\//–/g’ -e ‘s/^/ /’ -e ‘s/-/|/’ From: http://reviews.cnet.com/8301-13727_7-10402034-263.html