Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5 More Mayor Features Updated ~ #1

Open
wants to merge 96 commits into
base: master
Choose a base branch
from

Conversation

kaelzhang
Copy link

Hey guys!

Safe-rm now has some awesome new features. Thanks for your support !

New Supported Features

  • support merged short options, such as '-rv', '-riv'
  • fully support --interactive option which will act exactly the same as the original rm command
    • comfirm deleting with normal files
    • directory exam
  • improved exit code
  • support --verbose option to print more information, as well as the origin rm
  • support environment variable configuration
  • support wildcard !
  • support -- to remove files which lead with dashes: rm -- -a
  • bug fixes

@kaelzhang
Copy link
Author

I use this in every day life. If there's any bugs or a wishlist, new issues are welcome ~~

Kael and others added 12 commits September 10, 2013 16:19
Resolved (hopefully) issue6: #6
now rm.sh return 0 on success or 1 otherwise
Now, the rm.sh script is copied under $PREFIX/shell-safe-rm (see
MakeFile for more info). During install, a message in order to use
shell-safe-rm as an alias is prompted
Added -I / --interactive=once option. See 'man rm' for documentation
raising error with "/" and with path/.. path/.
exit code fixed and -I option added
Add Linux trash if OS is Linux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants