Skip to content

Commit a91c7cc

Browse files
authored
Update README.md
1 parent f5aeb0d commit a91c7cc

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

README.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,32 @@ options:
6969

7070
# create an empty collection on HPC-DME
7171
%> 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
7276

7377
# create required metadata
7478
%> 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
7580

7681
# deposit the tar into HPC-DME
7782
%> 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
7884

7985
# bunch of extra files are created in the process
8086
%> ls /data/CCBR/projects/ccbr_12345.tar*
8187
/data/CCBR/projects/ccbr_12345.tar /data/CCBR/projects/ccbr_12345.tar.filelist.md5 /data/CCBR/projects/ccbr_12345.tar.md5
8288
/data/CCBR/projects/ccbr_12345.tar.filelist /data/CCBR/projects/ccbr_12345.tar.filelist.metadata.json /data/CCBR/projects/ccbr_12345.tar.metadata.json
8389

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
8695

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*
8998

9099
# test results with
91100
%> dm_get_collection /CCBR_Archive/GRIDFTP/Project_CCBR-12345

0 commit comments

Comments
 (0)