ls -l shows 1970 date

When I sftp into the sftpcloud.io instances and run the command "ls -l" the file dates are shown as Jan 1 1970 rather than the correct dates, this causes issues with backup scripts that need to use the creation date to delete backups over a certain date.

Comments

To leave a comment, please authenticate.

Alex, 2 years ago
This is a known limitation and it happens because cloud storage providers (AWS S3, GCS, our storage, etc) don't have directories as normal filesystems do, and because of that, the directories are "virtual". We recommend using a backup app that can keep track of the backups by itself, without having to use the timestamps of the directories.
Voters
Status
Rejected
Board
Bug
Submitted
2 years ago, georanger