Clean up function snippet added with tests.
This commit is contained in:
17
README.md
17
README.md
@@ -10,4 +10,19 @@ function call:
|
||||
```
|
||||
check_folder_for_extension ./cffe_test "*.jpg *.JPG"
|
||||
```
|
||||
For multiple extensions (or other parts of the file name to match) space separate the list, like shown above.
|
||||
For multiple extensions (or other parts of the file name to match) space separate the list, like shown above.
|
||||
|
||||
## Clean up
|
||||
|
||||
Cleaning up in a script and exit with a given exit code.
|
||||
|
||||
function call:
|
||||
```
|
||||
clean_up 0;
|
||||
```
|
||||
|
||||
For testing the function call the script with:
|
||||
```
|
||||
clean_up.sh test
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user