TeamAmaze / TeamAmaze/AmazeFileManager

Option to preserve date and time attribute when copying (for root users)

Open
#2,074 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-FileOperations Issue-Bug Issue-Discussion Issue-Feature
Dominant language
Kotlin
Stars
6.4k
Forks
1.7k
Avg merge
3d 9h
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I do not quite like the system's default behaviour of resetting the time attribute (to now) when copying files or moving outside of a partition. Obviously not Amaze file manager's fault.

For photos and videos, it is less of a problem due to the metadata and file names, but many files do not include time information in the meta data or file name.

On desktop Linux, there is a cp -p command for that purpose, though that only works with root access or if those permissions are set accordingly.

Describe the solution you'd like

A clear and concise description of what you want to happen.

With root access, Amaze file manager could have the option to preserve the time attribute.

I think Android terminal (jackpal/termux, of which the first one appears to sadly have become abandonware) can do that too, but it would be convenient to have such an option on a graphical application.

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

The issue names no files, tests, or entry points. Start by locating the copy and cross-partition move handling in the Android file manager, then inspect how root access is used. Done means a root-enabled option preserves file date and time attributes during those operations without changing the default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.