Thank you for your answer.I think both commands are fine, But if the āipfs files writeā command can be improved to:
ipfs files add test.mp4 /test/test.mp4
And
ipfs files add -r ./* /test/
Instead of adding one file at a time:
cat test.mp4 | ipfs files write --create /test/test.mp4
Thanks again to IPFS for being the best storage Iāve had so far.