Skip to main content
Commonmark migration
Source Link

The behavior of --remove-source-files is exactly that specified by man rsync:

--remove-source-files

 

This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

So they are removed after all files are transferred successfully. If the transfer is interrupted or another error occurs, the source files are not removed, even if some of them transferred OK.

The behavior of --remove-source-files is exactly that specified by man rsync:

--remove-source-files

 

This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

So they are removed after all files are transferred successfully. If the transfer is interrupted or another error occurs, the source files are not removed, even if some of them transferred OK.

The behavior of --remove-source-files is exactly that specified by man rsync:

--remove-source-files

This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

So they are removed after all files are transferred successfully. If the transfer is interrupted or another error occurs, the source files are not removed, even if some of them transferred OK.

Formatting
Source Link
Satō Katsura
  • 13.7k
  • 2
  • 34
  • 52

The behavior of --remove-source-files is exactly that specified by man rsync:

--remove-source-files

    This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

--remove-source-files

This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

So they are removed after all files are transferred successfully. If the transfer is interrupted or another error occurs, the source files are not removed, even if some of them transferred OK.

The behavior of --remove-source-files is exactly that specified by man rsync:

--remove-source-files

    This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

So they are removed after all files are transferred successfully. If the transfer is interrupted or another error occurs, the source files are not removed, even if some of them transferred OK.

The behavior of --remove-source-files is exactly that specified by man rsync:

--remove-source-files

This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

So they are removed after all files are transferred successfully. If the transfer is interrupted or another error occurs, the source files are not removed, even if some of them transferred OK.

deleted 17 characters in body
Source Link
Rahul
  • 14k
  • 4
  • 46
  • 56

The behavior of --remove-source-files that you observe is exactly that specified by man rsync:

--remove-source-files

    This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

So they are removed after all files are transferred successfully. If the transfer is interrupted or another error occurs, the source files are not removed, even if some of them transferred OK.

The behavior of --remove-source-files that you observe is exactly that specified by man rsync:

--remove-source-files

    This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

So they are removed after all files are transferred successfully. If the transfer is interrupted or another error occurs, the source files are not removed, even if some of them transferred OK.

The behavior of --remove-source-files is exactly that specified by man rsync:

--remove-source-files

    This tells rsync to remove from the sending side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side.

So they are removed after all files are transferred successfully. If the transfer is interrupted or another error occurs, the source files are not removed, even if some of them transferred OK.

Source Link
Rahul
  • 14k
  • 4
  • 46
  • 56
Loading