Huflatisch
Hacker
Hey
in meinem Script (Suse 11.1) funktionierte immer find um Dateien aufzuspüren die älter sind
doch neuerdings funktioniert das nicht mehr
wiso findet "find" keine Dateien mehr die älter als zwei Tage sind.
Hat sich nach einem Update die Syntax geändert ?
cu Huflatisch
in meinem Script (Suse 11.1) funktionierte immer find um Dateien aufzuspüren die älter sind
Code:
find /backup -atime +2
Code:
-rw-r--r-- 1 root root 41601 22. Jul 01:48 2009-07-21-report.txt.bz2
-rw-r--r-- 1 root root 621984430 21. Jul 20:58 2009-07-21.tar.bz2
-rw-r--r-- 1 root root 39633 23. Jul 01:06 2009-07-22-report.txt.bz2
-rw-r--r-- 1 root root 546341050 22. Jul 20:52 2009-07-22.tar.bz2
-rw-r--r-- 1 root root 474056 23. Jul 21:10 2009-07-23-report.txt
-rw-r--r-- 1 root root 561443753 23. Jul 20:51 2009-07-23.tar.bz2
-rw-r--r-- 1 root root 40471 25. Jul 01:12 2009-07-24-report.txt.bz2
-rw-r--r-- 1 root root 572381688 24. Jul 21:02 2009-07-24.tar.bz2
-rw-r--r-- 1 root root 40217 25. Jul 21:15 2009-07-25-report.txt.bz2
-rw-r--r-- 1 root root 572469766 25. Jul 20:50 2009-07-25.tar.bz2
-rw-r--r-- 1 root root 40398 26. Jul 21:12 2009-07-26-report.txt.bz2
-rw-r--r-- 1 root root 580679056 26. Jul 20:48 2009-07-26.tar.bz2
-rw-r--r-- 1 root root 40628 27. Jul 21:18 2009-07-27-report.txt.bz2
-rw-r--r-- 1 root root 574705035 27. Jul 20:52 2009-07-27.tar.bz2
-rw-r--r-- 1 root root 29 28. Jul 09:36 2009-07-28-exclude
-rw-r--r-- 1 root root 292 28. Jul 09:36 2009-07-28-report.txt
-rw-r--r-- 1 root root 393324 28. Jul 09:36 mysql-backup.sql.gz
suse11:/backup # find /backup/ -atime +2
suse11:/backup #
wiso findet "find" keine Dateien mehr die älter als zwei Tage sind.
Hat sich nach einem Update die Syntax geändert ?
cu Huflatisch