Link to home
Start Free TrialLog in
Avatar of Bigi
Bigi

asked on

(-A "file".... command

With the following routine sometimes it pushes files
even if they are older than 10 minutes..

if ((-A "$file_dir/$file" < 600 / 86400) && ($file !~ /^data/) && ($file ne "lock") && ($file ne "vis") && ($file ne "vis1") && ($file ne "vis2") && ($file ne "vis3") && ($file ne "vis4")) {
push (@cleanfilelist,$file);



Is there another command as (-A "$file_dir/$file" < 600 / 86400) to
select only files not older than 10 minutes?
ASKER CERTIFIED SOLUTION
Avatar of b2pi
b2pi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial