how to Renames all files to include their directory names code example
Example: rename all files in a folder command line
for file in Picture*.jpg
do
mv "$file" "vacation-$file"
done
for file in Picture*.jpg
do
mv "$file" "vacation-$file"
done