Skip to content

File cut & paste operations should use move instead of copy+delete #2367

@iCankat

Description

@iCankat

When I cut & paste files in the Files interface, it takes extremely long time (minutes) just like copy & paste operations. However, cut & paste should be instant since it's just moving the file location, not copying data. The same file move operation via SSH mv command completes in seconds.

Cut & paste operations should use filesystem move commands (like mv in terminal) instead of copy+delete approach. This would make file moves instant while keeping copy operations as they are (since actual copying takes time).

Using SSH terminal for moving files, but the web interface should handle this basic operation efficiently.
Copy operations being slow is expected since data is actually being copied. But move operations (cut & paste) should be instant since it's just updating file metadata, not moving actual data on the disk.

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