#!/usr/bin/bash

# clear all files in ~/Downloads older than 24h
fd --changed-before 1d --search-path ~/Downloads --exec-batch rm -rf
