Issue
I know you can do it with a find
, but is there a way to send the output of ls
to mv
in the unix command line?
id='dv3'>
Solution
One way is with backticks:
mv `ls *.boo` subdir
Edit: however, this is fragile and not recommended -- see @lhunath's asnwer for detailed explanations and recommendations.
Answered By - Alex Martelli Answer Checked By - Willingham (WPSolving Volunteer)