Skip to content

Add Option to Copy Files Instead of Move #4

Description

@JavaBaz

Currently, FaraXtractor only allows users to move files from the source directory to the destination directory. It would be beneficial to give users the option to either move or copy files, allowing them to retain the original files in the source directory if needed.
Suggested Solution:

  1. Add a toggle (e.g., a radio button or checkbox) in the UI that allows users to choose between Move and Copy operations.
    2. Update the FileMover logic to support both file-moving and file-copying operations:
    - If "Move" is selected, files should be transferred as per the current behavior.
    - If "Copy" is selected, files should be copied instead, using Files.copy() with appropriate options.
    3. Ensure that the UI reflects the current selection (i.e., whether the user has chosen to move or copy files).
    4. Update any related messaging in the UI (e.g., success messages) to clarify whether files were copied or moved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions