Changes
Page history
Update slk archive
authored
Apr 07, 2021
by
Hadieh Monajemi
Show whitespace changes
Inline
Side-by-side
slk-archive.md
View page @
8f365149
...
...
@@ -5,12 +5,25 @@ Preparing the list of files to be archived.
## Test Data
```
~/test-archive/normal-file
~/test-archive/image-file
~/test-archive/large-file
~/test-archive/empty-folder
~/test-archive/empty-folder01/empty-folder02
~/test-archive/empty-folder/sub-folder/normal-file
$cd ~/archive
$ls -R
.:
empty-folder folder-00 large-file normal-file pictures
./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
...
...
@@ -71,3 +84,13 @@ slk archive -R test-archive/empty-folder/sub-folder/normal-file /hsm/testing/HMa
*
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:
*
stderr:
*
exit code:
\ No newline at end of file