I want to create a compressed tape archive of a folder in a directory (we'll call it A) that I have put model output into. I want to be able to also move this .tar.gz file to another directory (we'll call it B). Is it possible to create this tarball from directory B.
The reason I ask, is because I am running out of disk space in A, and I was under the impression that in order to create the tarball, it would require more space than I currently have in A.
If this is possible, can you give me an example of how the command would look? I hope this makes enough sense. Thanks!