You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ inodes
------------------------------------------
[CONFIG] Arguments not used, directory specified as hd:t:e:
------------------------------------------
INODE USAGE SUMMARY
------------------------------------------
INODES | SIZE | DIRECTORY
------------------------------------------
find: hd:t:e:: No such file or directory
------------------------------------------
find: hd:t:e:: No such file or directory
du: hd:t:e:: No such file or directory
0 | | hd:t:e:
------------------------------------------
$
tonychia@Tonys-MacBook-Pro ~ $ inodes -d `pwd`
------------------------------------------
[CONFIG] Arguments not used, directory specified as hd:t:e:
------------------------------------------
INODE USAGE SUMMARY
------------------------------------------
INODES | SIZE | DIRECTORY
------------------------------------------
find: hd:t:e:: No such file or directory
------------------------------------------
find: hd:t:e:: No such file or directory
du: hd:t:e:: No such file or directory
0 | | hd:t:e:
------------------------------------------
tonychia@Tonys-MacBook-Pro ~ $
The text was updated successfully, but these errors were encountered:
verify -d and positional argument work correctly (for backwards compatibility)
replace existing getopt for argbash code
# ARG_OPTIONAL_SINGLE([dir],[d],[Directory to scan and count inodes (overrides positional arg dir2)],[`pwd`])
# ARG_OPTIONAL_SINGLE([tree],[t],[Show tree for directories with inodes above this number],[])
# ARG_OPTIONAL_SINGLE([exclude],[e],[Exclude directory from report when below this many inodes],[])
# ARG_VERSION([echo test v$version])
# ARG_POSITIONAL_SINGLE([dir2],[Directory to scan and count inodes],[`pwd`])
# ARG_HELP([inodes - Count the amount of inodes in a given directory])
# ARGBASH_GO()
tripflex
changed the title
inodes is not working
OSX Compatibility: replace getopt with argbash
Dec 28, 2016
The text was updated successfully, but these errors were encountered: