Skip to content

Instantly share code, notes, and snippets.

@cssence
Last active March 9, 2016 11:21
Show Gist options
  • Save cssence/86009d5d793ffa4aaa8c to your computer and use it in GitHub Desktop.
Save cssence/86009d5d793ffa4aaa8c to your computer and use it in GitHub Desktop.
batch rename files toLowerCase
#!/usr/bin/env bash
for a_file in *;do mv -v $a_file `echo $a_file | tr [:upper:] [:lower:]` ;done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment