Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] MV instead of RSYNC #33

Open
jyxjjj opened this issue Oct 5, 2021 · 4 comments
Open

[feature request] MV instead of RSYNC #33

jyxjjj opened this issue Oct 5, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@jyxjjj
Copy link

jyxjjj commented Oct 5, 2021

when i just want to move with cut/paste, it takes too long.
i checked top, it used rsync.
why dont use mv?

@jyxjjj
Copy link
Author

jyxjjj commented Oct 5, 2021

btw, Fedora 34, v0.5.4-1.fc34.noarch

@joshuaboud
Copy link
Member

rsync is needed while moving or copying directories to allow merging of directories with the same name. To accomplish this with mv, it would need to execute mv once for every file to preserve directory hierarchy, compared to a single execution of rsync with the entire list of files. It is true that rsync is slower than mv while moving within the same file system though, as mv just renames files and rsync fully copies them and deletes the originals. I may try to implement having it default to renaming files and only falling back to rsync if the move is determined to be across filesystems at some point, so I'll keep this open until then.

@joshuaboud joshuaboud added the enhancement New feature or request label Nov 29, 2021
@xfisbest
Copy link

xfisbest commented Mar 9, 2023

Still waiting for this to be implemented :)

@jyxjjj
Copy link
Author

jyxjjj commented Aug 29, 2023

@joshuaboud What will go on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants