Difference between revisions of "Removing files from a DPM"
From GridPP Wiki
(No difference)
|
Latest revision as of 09:54, 13 January 2006
Removing files from a DPM should be done srm-advisory-delete, combine this with dpns-ls to remove all the files in a directory, e.g., a transfer test directory:
# export DPNS_HOST=my.dpm # export DPM_HOST=my.dpm # for file in $(dpns-ls /dpm/DOMAIN/home/VO/path); do > srm-advisory-delete -debug=false srm://$DPM_HOST:8443/dpm/DOMAIN/home/VO/path/$file > done