Quote:
Originally Posted by TBGBe
Yes, but PACOMP cannot create the archive as it needs "tar.gz / tar.bz2 " to perform the compression 
|
Ok, then the date and time must be placed before the first dot in the filename
Quote:
Originally Posted by TBGBe
However, this is getting too complicated. I would be happy just to PREFIX the archive name with time/date to give
YYYYMMDD_HHMMSS_name2.tar.gz
which I guess is much simpler (and clarifies why I asked for YEAR/Month/Day format).
|
It's not that complicated, the problem here is to know all the rules for the fileextension used in PACL before writning the script. I was assuming that we would have filename.extension in all archives.
It's much simpler to add the date and time in the beginning of the filename. The reason for adding it between the name and the extension is that it will be easier when you list the archives in explorer and they begin with their original filename and the date and time is inside it.
I'll fix this by adding the date and time before the first dot in the filename instead of the last dot.
Kind Regards
Micke