Task: Delete Files Older Than X Hours Using Bash
Task: Delete Files Older Than X Hours Using Bash: a task in Terminal-Lego-15k (Harbor dataset). Write a bash script that deletes files older than a specified number of hours from a given directory. Unlike the standard find -mtime option which works in days, your solution must support finer time…
The task
Write a bash script that deletes files older than a specified number of hours from a given directory. Unlike the standard `find -mtime` option which works in days, your solution must support finer time resolution (hours).
Part of PrimeIntellect/Terminal-Lego-15k.