Update slk archive authored by Hadieh Monajemi's avatar Hadieh Monajemi
...@@ -5,12 +5,25 @@ Preparing the list of files to be archived. ...@@ -5,12 +5,25 @@ Preparing the list of files to be archived.
## Test Data ## Test Data
``` ```
~/test-archive/normal-file $cd ~/archive
~/test-archive/image-file $ls -R
~/test-archive/large-file .:
~/test-archive/empty-folder empty-folder folder-00 large-file normal-file pictures
~/test-archive/empty-folder01/empty-folder02
~/test-archive/empty-folder/sub-folder/normal-file ./empty-folder:
./folder-00:
file-00 sub-folder-01
./folder-00/sub-folder-01:
sub-file-01 sub-folder-02
./folder-00/sub-folder-01/sub-folder-02:
sub-file-02
./pictures:
Earth.jpeg Jupiter.png Mars.tif Saturn.png
``` ```
## archive 01: archiving a normal file ## archive 01: archiving a normal file
...@@ -67,6 +80,16 @@ slk archive -R test-archive/empty-folder01/empty-folder02 /hsm/testing/HMarchive ...@@ -67,6 +80,16 @@ slk archive -R test-archive/empty-folder01/empty-folder02 /hsm/testing/HMarchive
``` ```
slk archive -R test-archive/empty-folder/sub-folder/normal-file /hsm/testing/HMarchive slk archive -R test-archive/empty-folder/sub-folder/normal-file /hsm/testing/HMarchive
```
* stdout:
* stderr:
* exit code:
## archive 07: archiving two nested folders
```
slk archive -R test-archive/empty-folder/sub-folder/normal-file /hsm/testing/HMarchive
``` ```
* stdout: * stdout:
* stderr: * stderr:
... ...
......