Wildcard Transfer Files
Hey Guys/Gals,
I need transfer the latest file from nested folders to its new directory.
i.e *.conf (there are other files in here alone with 1-10 conf - 10 being latest per todays date)
i.e cp $MYHome/source.bak/0001/pl1/10.conf $MYHome/NEWsource/0001/pl1/
cp $MYHome/source.bak/0013/pl1/2.conf $MYHome/NEWsource/0013/pl1/
....commonality is $MYHome/source.bak , $MYHome/NEWsource/
and 0001-0016, and the pl1
Any ideas?
|