I want to copy all files in ~/Desktop
with the extension .jpeg
to my flash drive.
How can I do this in the terminal?
hard drivemacossnow leopardterminal
I want to copy all files in ~/Desktop
with the extension .jpeg
to my flash drive.
How can I do this in the terminal?
Best Answer
will copy all of the files on the current user's desktop with extension ".jpeg" to the drive named "flashdrive".
If the above command produces an
Argument list too long
error, then the safest most efficient way to handle it is to use afor
loop like this: