View Single Post
Old 27 July 2019, 15:17   #1
Registered User
Join Date: Dec 2008
Location: Ursviken
Posts: 72
Timestamps for files on FTP / Gdrive

Is it possible to add a timestamp to each of the files in filelist.txt on the FTP that gets mirrored over to the gdrive ?

An alternative to not disturb those who parses the filelist.txt (and are not prepared for a simple change), add another filelist with the timestamps in the second column (before size)..

It's painfully slow to run the stat command on the remote files..

To be more clear, I would like the output from stat -c "%Y" to be added (%Y = time of last data modification, seconds since Epoch)

[or even md5 checksums for the files, but that's painfully slow on large files even on the local drive, could be built around, storing the md5s in a database for each file and use the stored value when timestamp has not changed]

Last edited by peo; 27 July 2019 at 15:34.
peo is offline  
Page generated in 0.04488 seconds with 11 queries