bash script that does not immediately delete files, but first moves them to trash
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.
srm FILENAME
Semen Zabelin – @szabelin159 – [email protected]
- Fork it (https://github.com/Rus159/srm/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request