minus-squaremordred@lemmy.worldtoSelfhosted@lemmy.world•WARNING: Lemmy Self-Hosters, There Have Been CSAM Attacks taking place against !lemmyshitpost@lemmy.worldlinkfedilinkEnglisharrow-up7·1 year agosudo find /srv/lemmy/example.com/volumes/pictrs/files -type f -ctime -1 -exec rm {} \; sudo: run as root find /srv/lemmy/example.com/volumes/pictrs/files -type f: find files (f) in directory -ctime -1: which have been created in the last day -exec rm {} ; execute the command rm (remove) on each of them linkfedilink
minus-squaremordred@lemmy.worldtoSelfhosted@lemmy.world•WARNING: Lemmy Self-Hosters, There Have Been CSAM Attacks taking place against !lemmyshitpost@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agodeleted by creator linkfedilink
sudo find /srv/lemmy/example.com/volumes/pictrs/files -type f -ctime -1 -exec rm {} \;