Shell Script – Rename Files’ Suffixes Recursively And Find Folders
Rename Files’ Suffixes Recursively And Find Folders Find Folders To find all folders in the current path, I wrote a simple shell script file. It ignores invisible folder which path looks like ./.XXX. #! /usr/bin/bash dirs=() find . -type d -print0 >tmpfile while IFS= read -r -d $’\0′; do dirs+=(“$REPLY”) Read more…