1. Renaming
1) Simpler processing command: MV original filename new file name
such as: MV MyFile newName # # # will myFile renamed to NewName.
2) Renaming files command: Rename name_old name_new file
For example: Rename MyFile newName myfile.text # # # # # # # # Myfile.text renamed Newname.text
This command is more useful in batch renaming
such as: Rename Oldname newName oldname1.text oldname2.text oldname3.text
This command replaces Oldname in oldname1.text oldname2.text oldname3.text file name with NewName
2. Xshell File Transfer
SZ is file download to Local:
SZ filename # #下载一个文件
SZ filename1 filename2
SZ dir/*
RZ is uploading local files to the server:
After entering RZ Enter, the file selection dialog will appear, select the file you want to upload, you can specify more than one file at a time, and upload the path to the server as the directory of the currently executing RZ command.
3. Delete files or folders rm
RM filename can delete files directly
Rm-r dir can delete folders and sub-files/folders inside
Rm-v can display the deleted content in detail
Shell Common Small commands