sjstein / tpMonitor

Python monitor script to connect to tpServer
0 stars 0 forks source link

Add directory structure to archiving #43

Closed sjstein closed 4 years ago

sjstein commented 4 years ago

To be consistent with other ASP tools, the datasets should be stored in a directory as follows: ./Data/<YYYYMMDD>/<fname>

If the exists, an underscore and sequential number should be added:

./Data/<YYYYMMDD>/<fname>_1
./Data/<YYYYMMDD>/<fname>_2
etc.

To make this a bit easier to implement, default to always using a .txt extension therefore making the -l argument the filename without extension. The will aid in appending the sequence number if needed. #