Skip to content

An easier way to hide/make visible files or dirs using terminal in Linux

License

Notifications You must be signed in to change notification settings

1RaY-1/hide-unhide4linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A human readable way to hide or make visible files or directories using terminal.

Demo

example

Installation (via terminal)

  • git clone https://github.com/1RaY-1/hide-unhide4linux.git
  • cd hide-unhide4linux/
  • bash install.sh

Uninstallation

To uninstall (delete binaries from system), type this command inside hide-unhide4linux directory: sudo bash uninstall.sh

Usage

Hide file

hide ANY_FILE_OR_DIRECTORY

Make visible

unhide ANY_FILE_OR_DIRECTORY

How it works

It's simple, 'hide.sh' just adds a dot at the beginning of a file or directory to hide it.

And 'unhide.sh' removes the dot at the beginning of a file or directory to make it visible.

So instead of typing something like: mv MY_FILE .MY_FILE

You just need to type: hide MY_FILE

And instead of typing: mv .MY_FILE MY_FILE

You just need to type: unhide .MY_FILE