Lập Trình Linux

Linux Move and Rename files and folders mv command

How to Move files and folders
How to Rename files and folders

Command Syntax
1. Move Files or Folder
mv -v Example1 Example2 /var/Dest

Move all files or folders
mv -v * /var/Dest

Move all C files
mv -v *.C /var/Dest

2. Rename File or Folder

mv -v Example1 Example2

-v verbose: prints the list of renamed files along with their new names
-n “no action:” a test mode or simulation which only shows the files that will
be changed without touching them
-f a forced overwrite of the original files


Lập Trình Linux
Học lập trình Android – Bài 04 Sử dụng máy ảo Genymotion
Lập Trình Linux
003 Python Installation on Kali Linux – [ Udemy Paid Course For Free ]
Lập Trình Linux
5 Best Beautiful Linux Distros [ 2020 Edition ]
There are currently no comments.