mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Typo.
@@ -70,7 +70,7 @@ $ find .snapshot -maxdepth 1 ! -name .snapshot
|
|||||||
.snapshot/snapmirror.1501b4aa-3f82-11e8-9c31-00a098cef13d_2147868328.2019-04-01_190000
|
.snapshot/snapmirror.1501b4aa-3f82-11e8-9c31-00a098cef13d_2147868328.2019-04-01_190000
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:** If the directory argument to find is a fully expressed path (`/home/somedir/.snapshot`), then you should use `basename` on the `-name` filter:
|
**Note:** If the directory argument to `find` is a fully expressed path (`/home/somedir/.snapshot`), then you should use `basename` on the `-name` filter:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ theDir="$HOME/.snapshot"
|
$ theDir="$HOME/.snapshot"
|
||||||
|
Reference in New Issue
Block a user