Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Safe Delete

##STOP USING rm to delete your files! Safely move your files to the trash instead using safe-delete.

PAST: Remove aka rm aka you like to live dangerously aka you just pulled a rm -rf /* instead of rm -rf ./*

"You mean it's gone forever..."

PRESENT: Move to Trash aka safe-delete aka You should be more careful!

The choice is yours:

Remove or Safe-Delete

###In your terminal

# Install Globally
sudo npm install -g safe-delete

# Move a directory to the trash
safe-delete temporaryDir

# Empty the trash with the -t or -trash flag
safe-delete -trash
Are you sure you want to permanently delete the trash? (yes/no): yes

# Aliases for safe-delete
# del = delete = safe-delete

# Use safe-delete to be verbose
# Use delete to be specific
# Use del to be short
# What good fun life can be

About

STOP USING `rm` to delete files! Safely move files to the trash instead using `safe-delete`.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages