uutils / uutils/coreutils

feat: mv: preserve attributes when moving

Open
#6,004 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

U - mv
Dominant language
Rust
Stars
24.1k
Forks
2k
Avg merge
1d 5h
Merged PRs (30d)
365

Description

Feature Request related to #6002

It may be helpful to some users for mv to be able to maintain attributes like timestamps when moving files to/from internal/external drives, or really just moving files/folders in general.

A nushell user requested this functionality. Here's the linked issue.
https://github.com/nushell/nushell/issues/11943

Kind of related with cp
https://github.com/uutils/coreutils/issues/4192

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the mv request and linked issues #6002, nushell #11943, and coreutils #4192, then compare the current mv and cp behavior. Clarify which attributes should be preserved for files and folders across internal and external drives. Done means mv preserves the agreed attributes consistently for general moves, with coverage for the supported cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.