Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use ctime to recover mtime #27

Open
centredecalcul opened this issue Feb 14, 2022 · 2 comments
Open

use ctime to recover mtime #27

centredecalcul opened this issue Feb 14, 2022 · 2 comments

Comments

@centredecalcul
Copy link

centredecalcul commented Feb 14, 2022

I found more than 60000 files with mtime < 86400 in my instance (SQL count).

solvable_files.sh script is very slow, it has been running for 4 hours in "list mode" and it is not finished, but maybe I can slow it down again :

Why not use "ctime" to correct "mtime" in database?
The last change date is often the same as the last modification date (metadata are rarely changed).

This might avoid losing some data by entering the current date in the ctime.
Am I wrong ?

@platima
Copy link
Contributor

platima commented Apr 9, 2022

Yeah I would MUCH prefer to keep any dates possible. This script does not feel like a 'fix'

@platima
Copy link
Contributor

platima commented Apr 10, 2022

Implemented in #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants