cn

'cn' is a counterpart for rm, which moves files into the trashcan. It is meant to be used instead of rm, such that one's fingers get into "good habits", and thus avoid accidentally rm-ing the wrong thing.

'cn' will confirm once, by default (even for directories), but can be made silent. It attempts to autodetect the location of the trash if KDE/GNOME are running. It can also handles perverse cases, such as trashing a file which is already in the trash, or deleting multiple files with the same name.

Last updated 7 Jul, 2008


User level: Submit a level

User Rating:

Homepage

License(s) :

GPLv3orlater

Rate it!

 

About

Leadership
  • Richard Neill - Maintainer
Requirements
  • bash (Use Requirement)
  • grep (Use Requirement)
  • ps (Use Requirement)
  • mv (Use Requirement)
Related Projects

Libtrash, Trash Can, litetrash

Versions

1.21

1.01 stable released 2004-08-22

User Community and Support

General Resources
Announcement Resources
Support Resources

Development

Developer Resources
Bug Tracking Resources
 

Please send comments on these web pages to bug-directory@fsf.org, send other questions to info@fsf.org.

Copyright © 2000 - 2010 Free Software Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA

The copyright licensing notice below applies to this text. Any software described in this text has its own copyright notice and license, which can usually be found in the distribution itself.

Permission is granted to copy, distribute, and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.