-
Notifications
You must be signed in to change notification settings - Fork 7
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
"find" command cant parse date/time #11
Comments
Can you tell me what OS you are using and the version of find ? |
My server is hosted on a web provider, and I don't seem to have the right permissions/packages (don't have apt or anything similar) to find everything. This is what I managed:
|
I changed the "@86400" to "1 day" manually and ran it again.
|
The stat command is to have the file's mtime, feel free to open a PR if you find a way that work on freebsd and other linux distributions |
I, like many others, are also using TrueNAS. Did anybody succeed with "ls -c" or "date -r" ? |
Here is a version that checks the mtime with an if instead of with find: https://github.com/nextcloud-gmbh/mtime_fixer_tool_kit/blob/40ba968a1b5d6decad4008f1deae754139b0b27d/solvable_files.sh |
btw. it seems that stat -f '%m' is the equivalent for FreeBSD |
when i try to run the file, the "find" command throws an error
find: Can't parse date/time: @86400
The text was updated successfully, but these errors were encountered: