Skip to content

Golang \ Python script (Windows\Linux?) to back up (save) modified date times (timestamps) for all files including those in subfolders in a directory with the ability to later restore them from the saved state file

Notifications You must be signed in to change notification settings

Owyn/backup_file_timestamps

 
 

Repository files navigation

Backs up (saves) modified dates (timestamps) for all files including those in subfolders in a directory with the ability to later restore them from the saved state, might be useful for cloud backup software and services which don't support restoring file timestamps when getting your files back

Get executable files from the Releases section

Usage:
backup-file-timestamps.exe - uses current directory (or the one dragged onto it) to go and save timestamps
backup-file-timestamps.exe -save "C:\my folder" - save modified time dates inside C:\my folder and its subfolders
backup-file-timestamps.exe -restore "C:\my folder" - restores modified time dates for all files inside C:\my folder and its subfolders

Console-less usage (GUI):

Navigate to shell:sendto (enter into explorer's address bar or the Run command)
shell-sendto-1 or TjL86

and place two files executable files there - backup-file-timestamps.exe and restore file timestamps.bat (or shortcuts to them, doesn't matter)

now after that you can simply click "send to" in context menu on any folder
context_menu translated

Screenshots

Saving:
done
Restoring:
done_restore

About

Golang \ Python script (Windows\Linux?) to back up (save) modified date times (timestamps) for all files including those in subfolders in a directory with the ability to later restore them from the saved state file

Resources

Stars

Watchers

Forks

Languages

  • Go 62.0%
  • Python 36.4%
  • Batchfile 1.6%