dx upload replace files
Hello,
When running dx upload on a file or multiple files, it can duplicate the files in the RAP storage. I understand that there are a few reasons for this choice, with one being to preserve the files so it is not accidentally overwritten. Is there a simple way to ensure that chosen files are updated/replaced instead of duplicated when using dx upload, or is uploading and manually removing the old file the only method. Thanks!
Comments
1 comment
Hello Roberto!
Thank you for posting your question on the community.
dx upload usually does not overwrite files, so you might get duplicated files of the same name. Please see the dx upload documentation on how you can upload these files into a different folder, which makes sure the files will not duplicate in the same folder:
https://documentation.dnanexus.com/user/objects/uploading-and-downloading-files/small-sets-of-files/uploading-using-dx
I hope this helps!
Please sign in to leave a comment.