Skip to content

ssza/srm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

SafeRM

bash script that does not immediately delete files, but first moves them to trash

Installation

Create a bin folder in your home directory (~/bin), clone the repository and move the srm file to the created directory, then add the path to ~/bin to ~/.bash_profile:

mkdir ~/bin
git clone https://github.com/Rus159/srm
mv srm/srm ~/bin
echo 'export PATH="${PATH}:~/bin"' >> ~/.bash_profile

...and reconnect to the server.

Usage example

srm FILENAME

Meta

Semen Zabelin – @szabelin159[email protected]

https://github.com/Rus159/

Contributing

  1. Fork it (https://github.com/Rus159/srm/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

About

bash script that does not immediately delete files, but first moves them to trash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages