Skip to content

Copy files from a source directory to a destination directory and keep track of the last copied file's timestamp. Next run, only copy new files.

License

Notifications You must be signed in to change notification settings

pgexperts/cpnewfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cpnewfiles

Copy files from a source directory to a destination directory and keep track of the last copied file's timestamp. Next run, only copy new files.

Delete copied files but keep around an hour by default. This is configurable via the --hours and --minutes command line options.

Example usage:

cpnewfiles.py --hours=2 --minutes=30 /some/source/dir /some/dest/dir

This script is licensed under the PostgreSQL License. See the LICENSE file for details.

About

Copy files from a source directory to a destination directory and keep track of the last copied file's timestamp. Next run, only copy new files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages