Update slk archive authored by Hadieh Monajemi's avatar Hadieh Monajemi
...@@ -9,15 +9,10 @@ These files are to be archived in `/hsm/testing/archive-HM`. ...@@ -9,15 +9,10 @@ These files are to be archived in `/hsm/testing/archive-HM`.
$cd ~/archive $cd ~/archive
$ls -R $ls -R
.: .:
empty-folder-00 empty-folder-01 folder-00 large-file normal-file pictures empty-folder-00 folder-00 large-file normal-file pictures
./empty-folder-00: ./empty-folder-00:
./empty-folder-01:
empty-sub-folder-02
./empty-folder-01/empty-sub-folder-02:
./folder-00: ./folder-00:
file-00 sub-folder-01 file-00 sub-folder-01
...@@ -77,8 +72,8 @@ slk archive -R empty-folder-01/empty-sub-folder02 /hsm/testing/archive-HM ...@@ -77,8 +72,8 @@ slk archive -R empty-folder-01/empty-sub-folder02 /hsm/testing/archive-HM
``` ```
* stdout: empty * stdout: empty
* stderr: empty * stderr: ERROR: The local directory chosen contains no files: empty-folder-00.
* exit code: 0 * exit code: 1
## archive 06: archiving nested folders ## archive 06: archiving nested folders
...@@ -97,7 +92,7 @@ slk archive -R folder-00/sub-folder-01/sub-folder-02/empty-sub-folder-03/ /hsm/t ...@@ -97,7 +92,7 @@ slk archive -R folder-00/sub-folder-01/sub-folder-02/empty-sub-folder-03/ /hsm/t
``` ```
* stdout: 0 * stdout: 0
* stderr: The local directory chosen contains no files: folder-00/sub-folder-01/sub-folder-02/empty-sub-folder-03/. * stderr: ERROR: The local directory chosen contains no files: folder-00/sub-folder-01/sub-folder-02/empty-sub-folder-03/.
* exit code: 1 * exit code: 1
## archive 08: archiving the last sub-folder and its contents from a nested fodler without archiving the parent directories ## archive 08: archiving the last sub-folder and its contents from a nested fodler without archiving the parent directories
... ...
......