V
V
Vladislav Soprun2014-11-17 22:32:10
Backup
Vladislav Soprun, 2014-11-17 22:32:10

Ubuntu how to remove obsolete folder?

Good day!
I have Ubuntu 14.04 LTS (Trusty Tahr) 64-bit, trying to auto-backup websites.
Structure:
/var/www/backup/ - folder with backups
/var/www/backup/Ymd/ - this folder contains the backup files themselves
Please tell me how can I scan the folder and delete "/var/www/backup/Ymd/" if she is over 30 days old?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Spetros, 2014-11-17
@soprun

man find

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question