Skip to content

notes / behaviors / inconsistencies when using --remove-source-files #195

@malventano

Description

@malventano

I was previously on 3.1.3 and would transfer (move) sets of large files to another location with --remove-source-files . I recently built 3.2.3-65 in order to address issue 71 (not terminating on destination full), but then I noted a difference in the --remove-source-files behavior.

On both versions, the --remove-source-files option appears to only do so every so often (every ~10 files).
On 3.1.3, canceling the transfer would finish removing the recent set of already transferred files.
On 3.2.3, canceling the transfer leaves those recent files that were already transferred, requiring the user to reissue the command and cancel it again in order to remove those files.

Recommendation: --remove-source-files should remove the source files as they are transferred and without any delays.

This will help in cases where the user is attempting to clear space from a volume as it is being filled from another source. Otherwise, the user would have to occasionally manually cancel and restart the transfer, as already transferred files remain on that volume for an extended period of time, especially in the case of a slow or intentionally bandwidth-limited transfer. Further, with the current behavior on 3.2.3, the user is left with files in both locations that they would have assumed were moved given the selected options. Canceling the operation should not result in duplicates remaining, as was the case with 3.1.3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions