Skip to content

pgexperts/cpnewfiles

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

Languages