You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ctime stands for status change time. This timestamp tells you when was the last time the property and metadata of the file were changed. The metadata includes file permissions, ownership, name and location of the file.
In other words, with {{date|create}} you get when the file content or its name was last changed. Until this is fixed, I will just use {{date|modify}} instead, which at least ignores file renames.
The text was updated successfully, but these errors were encountered:
Glad you like the tool! I am going to make this change. If you run into things like this continue to submit issues but in the meantime you can also override the default behavior with the replacements.js file that is installed to ~/.rename/replacements.js or %UserProfile%\.rename\.replacements.js on Windows. Just copy the entire date object and replace ctime with birthtime.
First of all: This is a really awesome tool and exactly what I was looking for! 馃槏
node-rename-cli/lib/replacements.js
Lines 264 to 271 in 5d75fdc
ctime:
Please use
stats.birthtime
for this (see this documentation for platform availability).In other words, with
{{date|create}}
you get when the file content or its name was last changed. Until this is fixed, I will just use{{date|modify}}
instead, which at least ignores file renames.The text was updated successfully, but these errors were encountered: