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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.