RE: How do we cleanup files through cli command?
How do we cleanup files through cli command?
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