How do we cleanup files through cli command?

How do we cleanup files through cli command?

Advanced User Asked on July 12, 2019 in Tools & Utilities.
Add Comment
1 Answer(s)

Command: cleanup

dicmd cleanup [-u userName -w userPassword] -c tform|local|applogs|opsruns|srvlogs|stage [-p ProjectNm] [-n days]

if we run cleanup command it will clean up all tform|local|applogs|opsruns|srvlogs|stage files

based on -n will clean files

for example -n we gave 10 days it will clean 10 days stage/logs/etc..

if we didn’t gave -n it will clean all files.

If we miss -c diyotta will throw error

Error:

Invalid command Syntax ExitCode:1

Expert Answered on July 12, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.