===== misc bash terminal stuff ===== move files from nested sub-folders to top level working directory (this will overwrite files with same names so rename with filebot beforehand if needed) find . -mindepth 2 -type f -print -exec mv {} . \;