How to take backup of destination files before overwriting while using Linux mv command?

You can take backup of destination files before overwriting using mv -b or –backup or -S options. The difference between mv -b, –backup, or -S options is explained below with examples.

mv -b option:

mv –backup option:

mv –suffix or -S option:

Leave a Reply