How to move files instead of copy?

096

To move files instead of copying them, you can use the mv command. Here's how you can modify your command:

mv ~/project/report1.txt ~/project/report2.txt ~/project/notes.txt ~/project/documents/

Explanation:

  • mv: The command to move files.
  • ~/project/report1.txt, ~/project/report2.txt, ~/project/notes.txt: These are the source files you want to move.
  • ~/project/documents/: This is the destination directory where the files will be moved.

Note:

  • The original files will be removed from their source location after the move.

If you have any more questions or need further assistance, feel free to ask!

0 Comments

no data
Be the first to share your comment!