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

21 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 to the beginning of a file or directory to hide it, and unhide.sh removes the dot to make it visible.

So instead of typing like: mv MY_FILE .MY_FILE

You type: hide MY_FILE

And instead of: mv .MY_FILE MY_FILE

You type: unhide .MY_FILE