Remove files/folders. Not drop-in replacement for rm, though
Project description
Remove
- removes files
- prints out filepath
- logs filepath to syslog
- optionally, logs to sqlite database
Motivation
- being able to clean up folders deep inside tree:
remove **/node_nodules - we could do this via normal
rm -rf **/node_nodules, however we would not see what entries being removed rmcommand has-voption to display removed entry. And we could userm -frv **/node_modules. Butrmwould log each file in this case. For a largenode_modules- the output is overwhelming. I just need to see which node_modules being removed and keep the output log readable.- we could use
findandxargs- but we will end up with rather longer command for atrivialtask
Example
pip install ngm-remove
cd projects
remove **/node_nodules
journalctl -t remove
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ngm_remove-0.0.4.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ngm_remove-0.0.4.tar.gz.
File metadata
- Download URL: ngm_remove-0.0.4.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b1971a345e74782a7d2e2ebd760bca75b75fefe7eb2f8c14c46fe967047bf0d
|
|
| MD5 |
617a71f6255ea2b4e921cc64432e4c47
|
|
| BLAKE2b-256 |
05399ef3b64e9a75d163e815976b7dd1a37acf20f191c1ba2a6afdf0ec990470
|
File details
Details for the file ngm_remove-0.0.4-py3-none-any.whl.
File metadata
- Download URL: ngm_remove-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75dedb3b7cb92971000b77f4b005c1b801a34150f1e00937135a4ee76ba8cf1e
|
|
| MD5 |
0f9e238ab85ff4d428a3b50a18d307b8
|
|
| BLAKE2b-256 |
98fa4ca68486a7cf76d1b29d287cb6c721b37a79c6552bc8a457ccbf5bfc937b
|