MarseyWorld/scripts/cleanup_videos.sh

4 lines
105 B
Bash
Executable File

#!/bin/bash
find /videos -not -name "*.mp4" -type f -delete
find /videos -name "*-t.mp4" -type f -delete