Skip to content

Commit 8eaca4b

Browse files
committed
Switched from append directly to pipe to file.
1 parent abad8ee commit 8eaca4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

files/DIDlist_Parse.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ PathListFile="${Path}/${DID_Edit}_DID_Pathlist"
4141
# Need to switch this to name the DID pathlist nicely
4242
touch "${PathListFile}" # Open the file which will contain the path list
4343

44-
rucio replica list file --protocols root --pfns --rses isopenaccess ${Scope}:${DID} >> ${PathListFile}
44+
rucio replica list file --protocols root --pfns --rses isopenaccess ${Scope}:${DID} > ${PathListFile}
4545

4646
echo "Parsed provided DID - $DID"
4747
echo "All files locations within this dataset have been printed to ${PathListFile}" # Need to automate this in future such that the file is named sensibly

0 commit comments

Comments
 (0)