quickly & easily hide/show the contents of a directory
wget https://github.com/EvanCooper9/hide/archive/master.zip
- Place in desired directory
- Add to your .bash_profile :
PATH=$PATH:/full/path/to/hide
hide
> Thank you for installing hide!
> Would you like to enable Auto hide (y/n)? y
> What directory would you like to hide ~/Desktop
hide [-s] | [-h] | [-d DEST] | [-D] | [-a] | [-A] | [-i] | [-r]
-s
Show the files of the current profile-h
Hide the files of the current profile-d DEST
Change the current destination. WhereDEST
is the destination to hide-D
Show the current destination-a
Enable/disable Auto hide: show/hide based on the current state-A
Show if auto hide is enabled/disabled-i
Show hide info page (Only really useful when Auto hide is enabled)-r
Restore hide to defaults
Auto hide eliminates the need for the -s
and -h
flags. It will automatically hide/show the files from the current destination based on the current state. Simple type hide
and the rest will be taken care of.