Clinical-Genomics / housekeeper

File data orchestrator
MIT License
2 stars 0 forks source link

Add option --keep-file to delete file #98

Closed fevac closed 1 year ago

fevac commented 1 year ago

Currently, housekeeper delete file removes the file from both the database and the system (i.e. removes the actual file). It would be nice to be able to delete only HK links from the database but to keep the actual files in the system.

ivadym commented 1 year ago

You have it already in delete files (plural). You can use housekeeper delete files -b <bundle> -t <tags> -n with the n flag:

-n, --notondisk           rm db entry from files not on disk
fevac commented 1 year ago

Oh! I missed that. Thank you. Closing