Copy/move files in Linux

For MOVING:

  • sudo mv <file> /usr/local/base/..

for COPYING

  • sudo cp <file> /usr/local/base/..

In place of <file> you can put the filename, or a directory or even anything using a wildcard

eg: *.mp3 to move all the mp3 files in a particular folder

Leave a Reply

Your email address will not be published. Required fields are marked *