Javatpoint Logo
Javatpoint Logo

mv --suffix

This option helps you to have a backup of the destination file before over writing it with the moving file. The original destinaion file will be replaced by the extension provided with the command.

linux-file-mv-suffix

In above example, we have moved 'file1' into 'file2'. After passing the command 'mv ?suffix=.txt file1 file2', 'file1' will be replaced by 'file2'. While, already existing file 'file2' will be replaced with the extension 'file2.txt'.

Extension file will denote that it is a backup file.


Next TopicLinux mv u





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA