Skip to main content

rmout is a tool for throwing unnecessary files in a directory into the trash.

Project description

rmout

rmout is a tool for throwing unnecessary files in a directory into the trash.

PyPI Version GitHub Actions CodeQL MIT License

Installation

conda, venv

$ pip install rmout

Usage

Create a ".rmoutrc" file under your home directory or current directory. In the file, list the extensions of the files to be deleted.

example: .rmoutrc file

.sim
.prt
.dat

Move to the directory containing the files you want to throw in the Trash and execute the following command.

$ rmout

In "send to trash [a] ? ", enter the extension code of the file you want to send to the Trash. The default is all files. If you press the ENTER key without typing, the files with the extensions listed will be sent from the directory to the Trash.

If you enter the code to the left of the extension list separated by commas, you can select the file with the extension you want to discard.

$ rmout
     1: *.com  2
     2: *.dat  2
     3: *.log  1
     4: *.msg  2
     5: *.odb  2
     6: *.oke  1
     7: *.prt  2
     8: *.sim  2
     9: *.sta  2
     a:  all files
     x:  exit
send to trash [a] ? 1, 5
job01.com
job02.com
job01.odb
job02.odb
finished.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rmout-0.3.0.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

rmout-0.3.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page