Page 1 of 1

Add timestamp to new files

Posted: 27 Jan 2016, 15:45
by ziemowit
Hello

is it possible to use filebot on a Synology to rename any other file by just adding a timestamp? I have a scanner which scans directly to a path on my Synology NAS. Output would be scan0001.pdf, scan0002.pdf, etc. I would like to run a process which will detect any new file in this path and rename it by adding a time stamp e.g. 2016-01-28-12:00_scan.pdf
Is that possible with filebot?

Re: Add timestamp to new files

Posted: 27 Jan 2016, 18:45
by rednoah
You mean with the FileBot GUI? You can do generic file renaming like this:
viewtopic.php?f=3&t=2072

If you want to do that from the command-line then you can just use bash:
http://unix.stackexchange.com/questions ... he-filenam

Re: Add timestamp to new files

Posted: 27 Jan 2016, 18:59
by ziemowit
Im looking for something that doesn't require any manual interaction. Maybe filebot is not really capable.

Re: Add timestamp to new files

Posted: 27 Jan 2016, 19:21
by rednoah
You're looking for something very basic. Watching files and renaming files. If you want to use FileBot you'd write a Groovy script for that. But you might as well write a bash script, because you'll find more help for that.