An interrupted copy keeps partial files so that a retry can resume (see
Resume an interrupted copy).
A retry removes the partial files of each file it finishes, but only where it
can tell that no other program has them open for writing: on Linux, on local
filesystems such as ext4, XFS, Btrfs, ZFS and tmpfs. Temporary files from a
killed copy can also remain beside files a local retry copies whole. When you
no longer need to resume, or a retry left some, remove them with this command.
Let copies into the directories finish first, and preview:
It removes regular files named .FILENAME.syq-tmp.RANDOM, left by copies,
including descriptor copies, and
.syq-s3-HASH.partial, left by S3 downloads, including
any file of yours with such a name. It does not follow symlinks, and it leaves
alone the .syq-stream-* files that descriptor copies of older versions
left.
Neither this command nor pruning removes .syq-swap-... recovery entries.
Each holds either a file that a copy moved aside while replacing it (after an
interruption, or when another program wrote the same name at the same time) or
a killed copy’s own unfinished entry. Once no copy is using the destination,
recover what you need from them and delete them yourself.