#!/bin/sh
find {{pocetnidir}} -ctime 24-exec rm -f {} \;
gde je {{pocetnidir}} puna putanja do direktorijuma gde je taj folder/file sacuvan.
stavi to u /etc/cron.hourly/skloni_24.sh
Mozda ces hteti da stavis rm -rf , ako hoces tacno to da obrises ...
trebalo bi da je to to
__________________
Do not ask yourself what the world needs. Ask yourself what makes you come alive, and then go do that. Because what the world needs is people who have come alive
|