Run Audit command to all the files in one folder

Run Audit command to all the files in one folder

Anonymous
Not applicable
1,908 Views
8 Replies
Message 1 of 9

Run Audit command to all the files in one folder

Anonymous
Not applicable

Hi 

I want a lisp program to run Audit command for the files in one folder

 

And it should give the audit output of each file in csv format

 

like we do for single file by setting auditctl to 1,

 

I am not a programmer, kindly provide some help

 

Thank You

0 Likes
Accepted solutions (1)
1,909 Views
8 Replies
Replies (8)
Message 2 of 9

maratovich
Advisor
Advisor

AUDITCTL system variable is set to 1, a text file with an ADT file

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 3 of 9

Anonymous
Not applicable

yes i know, but i want to run audit on a batch of files together and create those text files with audit data

 

Thank You

0 Likes
Message 4 of 9

dbhunia
Advisor
Advisor

For Audit & Purge check this.......

 

http://forums.augi.com/showthread.php?60673-Purge-amp-Audit-all-drawing-files-in-a-folder

 

 


Debashis Bhunia
Co-Founder of Geometrifying Trigonometry(C)
________________________________________________
Walking is the First step of Running, Technique comes Next....
0 Likes
Message 5 of 9

maratovich
Advisor
Advisor

Try this, maybe it will help:

 

 

 

 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes
Message 6 of 9

Anonymous
Not applicable

Hi 

 

Thanks a lot, it is working for, thanks for the solution,

 

Do u know LISP, Because i want to learn lisp - any suggestions from where i should start

 

Thank You

0 Likes
Message 7 of 9

dbhunia
Advisor
Advisor

Try this.....(with some modification in "DOFILE")

 

 

To Learn lisp I advice to go through online.......

 


Debashis Bhunia
Co-Founder of Geometrifying Trigonometry(C)
________________________________________________
Walking is the First step of Running, Technique comes Next....
0 Likes
Message 8 of 9

Anonymous
Not applicable

hi thanks a lot it is working,

But have one more problem, I have few files which has faulty objects

when I run audit, It will say as few items have passed and few items fail

 

For the items failing it will give the Cad handles as shown belowUntitled1.png

 

Is it not possible, when i run audit the adt file created should display only these faulty Object details as highlighted above

(i don't want the details of passing objects)

0 Likes
Message 9 of 9

dbhunia
Advisor
Advisor
Accepted solution

Try this....... 

 

For CSV file check in the selected folder with name "Report.csv"

 

 


Debashis Bhunia
Co-Founder of Geometrifying Trigonometry(C)
________________________________________________
Walking is the First step of Running, Technique comes Next....
0 Likes