Copying a file in Python3 using the following code takes a lot of time:
shutil.copy(self.file, self.working_dir)
However, the cp
command of Linux is pretty fast. If I try to execute the bash command from Python3 for copying files with sizes greater than 100GB, will that be a reliable option for production servers?
I have seen this answer but its suggestions are not fast.