OnDemand User Group
Support Forums => MP Server => Topic started by: Daniel on September 14, 2017, 09:00:44 AM
-
Hi everyone
Can I control whether a document gets deleted after being loaded into OnDemand ? Can I leave the original document in place ?
I actually have two issues:
1. User want to delete documents after loading into CMOD.
2. User wants to keep original document after loading into CMOD.
Thanks
-
Look into the -n flag of arsload:
-n Do not remove files
-
Heh. Jeff beat me to it.
Just a word of warning though... If you restart arsload, you're going to end up with duplicates. And if you don't clean out that directory regularly, you're going to end up with a LOT of duplicates.
-JD.
-
Thanks for the help. I will give it a try
-
Thanks for the help. I will give it a try
Just as a tip from a bunch of CMOD installs I've seen..
All the times that arsload is ran as a deamon, or even when it's called programmatically, ive always seen -nvf.
Whenever I am doing my own unit testing, messing around with CMOD, or just trying something, I just got in the habit of typing -nvf as a flag.