I\'m trying to us the following command on Mac OSX 10.6 Terminal but it does not work..Any idea what I may be doing wrong?
These work...
List most recent
You're moving the newest file. Try
mv `ls -t |tail -1` newdirname
or
mv `ls -tr |head -1` newdirname
Working on my Ubuntu's bash.