0

I am replacing my current Ubuntu version version to Ubuntu 20.04 and making backup of my .cpp program file location of my .cpp program files are in current working directory. I am made a myprog folder on desktop of my Ubuntu machine and trying to move all .cpp file in that folder. I there is any direct command to do this. Thanks in advance

1 Answer 1

1

Read This How to move multiple files at once to a specific destination directory?

mv *IDENTIFIER* ~/YourPath/

* is a wildcard for zero or more characters, this means zero or more characters, followed by IDENTIFIER, followed by zero or more characters.

This will move all the files that contain the IDENTIFIER you specified.

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .