Been doing some googling on how to bulk move files. So far stuff on "recursive" moving, but that doesn't seem to be helping. So here's my situation. I have the following directory setup:
Code: Select all
/mnt/folder/
-Clientname1
->2012
->2013
-> clietnname1file.ext
-Clientname2
->2012
->2013
-> clientname2file.ext
-Clientname3
->2012
->2013
-> clientname3file.ext
Code: Select all
for file in /mnt/folder/*/*.ext; do
mv "$file" "$dir/2013"
done