[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Re: Rotina de expurgo
From: |
Paulo Bettega |
Subject: |
Re: [shell-script] Re: Rotina de expurgo |
Date: |
Mon, 11 Aug 2014 15:22:28 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Está no man find :)
-mtime n
File's data was last modified n*24 hours ago. See the comments
for -atime to understand how rounding affects the interpretation
of file modification times.
-atime n
File was last accessed n*24 hours ago. When find figures out
how many 24-hour periods ago the file was last accessed, any
fractional part is ignored, so to match -atime +1, a file has to
have been accessed at least two days ago.
Nunca usei essa opção, mas pela explicação ela retira as 24 horas do cálculo.
-daystart
Measure times (for -amin, -atime, -cmin, -ctime, -mmin, and
-mtime) from the beginning of today rather than from 24 hours
ago. This option only affects tests which appear later on the
command line.
Abraços Paulo Bettega
On 11-08-2014 13:49, address@hidden [shell-script] wrote:
Lembra o que o Luis Roberto falou?
Só para recordar:
"
Caro;
Só uma ressalva:
Quando falamos em "mais 06" na realidade não são "06 dias"e sim 1=24H, ou seja
06=sysdate-144H
Abs
"
Considere o tempo também
[]'s
- Rotina de expurgo, fabiomiguel92, 2014/08/09
- Re: [shell-script] Rotina de expurgo, Julio C. Neves, 2014/08/10
- Re: Rotina de expurgo, itamarnet, 2014/08/10
- Re: Rotina de expurgo, fabiomiguel92, 2014/08/10
- Re: Rotina de expurgo, fabiomiguel92, 2014/08/10
- Re: Rotina de expurgo, itamarnet, 2014/08/10
- Re: Rotina de expurgo, fabiomiguel92, 2014/08/11
- Re: Rotina de expurgo, itamarnet, 2014/08/11
- Re: [shell-script] Re: Rotina de expurgo,
Paulo Bettega <=
- Re: Rotina de expurgo, fabiomiguel92, 2014/08/12
- Re: Rotina de expurgo, laomonteiro, 2014/08/11