@@ -69,23 +69,32 @@ options:
69
69
70
70
# create an empty collection on HPC-DME
71
71
%> parkit createemptycollection --dest /CCBR_Archive/GRIDFTP/Project_CCBR-12345 --projectdesc " testing" --projecttitle " test project 1"
72
+ # the above command creates collections:
73
+ # - /CCBR_Archive/GRIDFTP/Project_CCBR-12345
74
+ # - /CCBR_Archive/GRIDFTP/Project_CCBR-12345/Analysis
75
+ # - /CCBR_Archive/GRIDFTP/Project_CCBR-12345/Rawdata
72
76
73
77
# create required metadata
74
78
%> parkit createmetadata --tarball /data/CCBR/projects/ccbr_12345.tar --dest /CCBR_Archive/GRIDFTP/Project_CCBR-12345
79
+ # if ccbr_12345.tar is rawdata then "--collectiontype Rawdata" argument needs to be added to the above commandline
75
80
76
81
# deposit the tar into HPC-DME
77
82
%> parkit deposittar --tarball /data/CCBR/projects/ccbr_12345.tar --dest /CCBR_Archive/GRIDFTP/Project_CCBR-12345
83
+ # if ccbr_12345.tar is rawdata then "--collectiontype Rawdata" argument needs to be added to the above commandline
78
84
79
85
# bunch of extra files are created in the process
80
86
%> ls /data/CCBR/projects/ccbr_12345.tar*
81
87
/data/CCBR/projects/ccbr_12345.tar /data/CCBR/projects/ccbr_12345.tar.filelist.md5 /data/CCBR/projects/ccbr_12345.tar.md5
82
88
/data/CCBR/projects/ccbr_12345.tar.filelist /data/CCBR/projects/ccbr_12345.tar.filelist.metadata.json /data/CCBR/projects/ccbr_12345.tar.metadata.json
83
89
84
- # these extra files can now be deleted
85
- %> rm -f /data/CCBR/projects/ccbr_12345.tar*
90
+ # delete the recently parked project folder contents including hidden contents
91
+ %> rm -rf /data/CCBR/projects/CCBR-12345/*
92
+
93
+ # copy filelist into the empty project folder for future quick reference
94
+ %> cp /data/CCBR/projects/ccbr_12345.tar.filelist /data/CCBR/projects/CCBR-12345/ccbr_12345.tar.filelist
86
95
87
- # you can also deleted the recently parked project folder
88
- %> rm -rf /data/CCBR/projects/ccbr_12345
96
+ # delete files created by parkit
97
+ %> rm -f /data/CCBR/projects/ccbr_12345.tar *
89
98
90
99
# test results with
91
100
%> dm_get_collection /CCBR_Archive/GRIDFTP/Project_CCBR-12345
0 commit comments