Changes
Page history
Update slk archive
authored
Apr 07, 2021
by
Hadieh Monajemi
Hide whitespace changes
Inline
Side-by-side
slk-archive.md
View page @
8131eb4b
...
...
@@ -47,18 +47,18 @@ slk archive normal-file /hsm/testing/archive-HM
```
slk archive pictures /hsm/testing/archive-HM
```
*
stdout:
*
stderr:
*
exit code:
*
stdout:
empty
*
stderr:
empty
*
exit code:
0
## archive 03: archiving a large file
```
slk archive large-file /hsm/testing/archive-HM
```
*
stdout:
*
stderr:
*
exit code:
*
stdout:
empty
*
stderr:
empty
*
exit code:
0
## archive 04: archiving an empty folder
...
...
@@ -66,9 +66,9 @@ slk archive large-file /hsm/testing/archive-HM
slk archive empty-folder-00 /hsm/testing/archive-HM
```
*
stdout:
*
stderr:
*
exit code:
*
stdout:
empty
*
stderr:
empty
*
exit code:
0
## archive 05: archiving two nested empty folders
...
...
@@ -76,9 +76,9 @@ slk archive empty-folder-00 /hsm/testing/archive-HM
slk archive -R empty-folder-01/empty-sub-folder02 /hsm/testing/archive-HM
```
*
stdout:
*
stderr:
*
exit code:
*
stdout:
empty
*
stderr:
empty
*
exit code:
0
## archive 06: archiving nested folders
...
...
@@ -86,9 +86,9 @@ slk archive -R empty-folder-01/empty-sub-folder02 /hsm/testing/archive-HM
slk archive -R folder-00 /hsm/testing/archive-HM
```
*
stdout:
*
stderr:
*
exit code:
*
stdout:
empty
*
stderr:
empty
*
exit code:
0
## archive 07: archiving the last empty folder in a nested folder
...
...
@@ -98,4 +98,16 @@ slk archive -R folder-00/sub-folder-01/sub-folder-02/empty-sub-folder-03/ /hsm/t
```
*
stdout: 0
*
stderr: The local directory chosen contains no files: folder-00/sub-folder-01/sub-folder-02/empty-sub-folder-03/.
*
exit code: 1
\ No newline at end of file
*
exit code: 1
## archive 08: archiving the last sub-folder and its contents from a nested fodler without archiving the parent directories:
```
slk archive -R folder-00/sub-folder-01/sub-folder-02 /hsm/testing/archive-HM
```
*
stdout: empty
*
stderr: empty
*
exit code: 0