Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tar file is corrupted when using single File larger than 8 GB #102

Closed
pratikkaneria opened this issue Jun 28, 2021 · 5 comments
Closed

Tar file is corrupted when using single File larger than 8 GB #102

pratikkaneria opened this issue Jun 28, 2021 · 5 comments

Comments

@pratikkaneria
Copy link

`var _tar = require('tar-fs');
var fs = require('fs');
var myArgs = process.argv.slice(2);

_tar.pack(myArgs[0], {finish: ()=>{
console.log("done")
} }).pipe(fs.createWriteStream(myArgs[1]));`

I am using the simple tar pack method to create a tar , in my folder i have a file which is of size 14 GB , the tar is created successfully but it is corrupted.

@vyx-rohan-jyoti
Copy link

@pratikkaneria were you ever able to resolve this or figure out an alternative to recover the data? I am encountering this as well.

@OppoOskar
Copy link

OppoOskar commented May 30, 2022

Any updates on this? Encountering the same problem.

Did you find any workarounds or alternative packages that can handle bigger single files?

@pratikkaneria
Copy link
Author

Any updates on this? Encountering the same problem.

Did you find any workarounds or alternative packages that can handle bigger single files?

Not yet

@OppoOskar
Copy link

Any updates on this? Encountering the same problem.
Did you find any workarounds or alternative packages that can handle bigger single files?

Not yet

I ended up writing the files to disk and using the command line tar instead, avoiding the problem entirely.

@mafintosh
Copy link
Owner

fixed in latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants