jean-zay-users / jean-zay-doc

Collaborative documentation for and from Jean Zay users. Official Jean Zay documentation: http://www.idris.fr/eng/jean-zay/
https://jean-zay-doc.readthedocs.io/en/latest/
MIT License
109 stars 34 forks source link

Caveat with unzipped or untarred archive on SCRATCH #62

Closed lesteve closed 3 years ago

lesteve commented 3 years ago

https://gitter.im/jean-zay-users/jean-zay-doc?at=5e8b1b1716f84f04615d0058

It seems like by default unzip or tar keep the modification and access time of the original files when the archive was created. This cause the files on SCRATCH to be wiped out although you unzipped the archive recently.

People are getting caught by this from time to time, this should be mentioned as a caveat with SCRATCH (with potentially an example of unzipping a common dataset from DSDIR (e.g. coco as in https://gitter.im/jean-zay-users/jean-zay-doc?at=606737053153ce63a3b5a1c5)

The work-around is to use tar -m or unzip -DD so that the extracted files have the timestamp of archive extraction.

rstrudel commented 3 years ago

Cf #63 for an update in the doc