diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-02-11 11:03:42 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-02-11 11:03:42 +0100 |
commit | 31918fdf68c6b7880c0697f257e6ec93132af5c4 (patch) | |
tree | dcb803768abdb170fa18a4b107fcde16a7aa5729 | |
parent | b2582c4cebb4d310349f92793345e5f2e9ff5edd (diff) | |
download | bin-31918fdf68c6b7880c0697f257e6ec93132af5c4.tar.gz bin-31918fdf68c6b7880c0697f257e6ec93132af5c4.tar.xz |
find-inodes: Force paths to be treated as paths
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | find-inodes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/find-inodes b/find-inodes index 111c64e..133c407 100755 --- a/find-inodes +++ b/find-inodes @@ -2,7 +2,7 @@ GLOBIGNORE=. ( for i in *; do - a=$(find "$i" -xdev | wc -l) + a=$(find "./$i" -xdev | wc -l) printf "%s" "${a%\n}" printf " - %s\n" "$i" done |