User Tools

Site Tools


xplore:copy_file_time

Not keeping file's time after copying

X-plore shows file's last modification time, but it can't set it when copying file from elsewhere.

This would be desirable to retain file's last modification time when copying it, and it's not that X-plore would forget about it. It's just not working on Android's internal memory or memory card.

You can verify that by using other file managers, they have same problem.

Reason

This is actually bug inside of Android, which was not fixed for years, reported here and here and elsewhere.

Solution

One solution that X-plore uses is utilizing Root mode and set modify date from there after copying file. It works on rooted devices if X-plore is allowed to use root mode. Besides that, there is no fix for this.

xplore/copy_file_time.txt · Last modified: 2017/04/28 12:04 (external edit)