Skip to main content

Add a note about which files/folders are safe to delete?

ID
da15bdc
date
2024-06-19 16:18:21+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
91de11e
message
Add a note about which files/folders are safe to delete?
changed files
1 file, 16 additions

Changed files

README.md (2159) → README.md (2788)

diff --git a/README.md b/README.md
index 07e5ca7..199073b 100644
--- a/README.md
+++ b/README.md
@@ -78,6 +78,22 @@ $ emptydir
 
 
 
+
+
+## Which files/folders are safe to delete?
+
+Currently the list of files/folders which I consider safe to delete is hard-coded in `can_be_deleted.rs`:
+
+*   `.DS_Store` stores some folder attributes used for showing the folder in the Finder, which I don't need to keep
+*   `__pycache__` is the bytecode cache in Python projects, which is pointless if the original Python files have been removed
+*   `.venv` is the name I use for virtual environments, which I can asily regenerate if necessary
+
+If you want to change that list, you need to modify the source code and compile a new version -- it's not a configurable setting.
+
+
+
+
+
 ## License
 
 MIT.