Hi there ,
I am trying to move file from default content store to another content store . I was using below script . But this copy file to storeB . Is there similiar script which basically move file to second content store? Like Cut & Paste in windows .
After moving i dont need this in default location.
I was using following script , but this only copy the file.
var logFile = space.childByNamePath("alf docs1.txt");
logFile.addAspect("cm:storeSelector");
logFile.properties['cm:storeName'] = "storeB";
logFile.save();