7 ms·
Deleting the empty "Email attachments" directory that OneDrive keeps making inside my drive. Systemd timer unit does the trick.
by thomasfedb 8y ago
Deleting the empty "Email attachments" directory that OneDrive keeps making inside my drive. Systemd timer unit does the trick.
- yjftsjthsd-h 8y agoWouldn't it be better to use inotify than a timer? I forget if systemd supports it or not, but it's simple enough independently: https://superuser.com/questions/181517/how-to-execute-a-command-whenever-a-file-changes https://superuser.com/questions/181517/how-to-execute-a-comm...
- thomasfedb 8y agoMaybe, but this works. Sometimes that's enough.