0

This isn't about getting a single file from a multi-part rar archive as I can understand how easily that question could be misread. I'll try to explain my use case.

I have 2.6tb of compressed data (in a multi-part rar) on a 4tb drive. I can't really afford another 3+tb drive right now, so I'd ideally extract the archive to the drive where it's currently stored.

However, there's a problem! In order to not run out of space, I'd need to extract the archives single-file and then delete them once that's occurred. So if extraction with verification for single files can occur too, that'd be dandy.

I understand that the best solution might be to just wait until I can afford another drive, but I really require that data as quickly as possible and I'm not sure how long I could hold out until I could afford another drive. As such, I figured I'd ask for opinions and advice.

Thanks for your time!

New contributor
Fenrir Wolf is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 1
    what if you mark 10 or 20 files at a time and extract them and then delete those 10 rar archives ?? It would be easier that doing it one by one. – Elmo Oct 10 at 4:29
  • If it was an archive created in Linux with tools that do "one thing well" and can work with pipes, then it most likely would be possible. Example: parts created with tar -c … | gzip -c … | split …. Extract with <fifo gzip -dc … | tar -x … where fifo is a named pipe you keep open and pass one part at a time in the right order. This would allow you to delete parts on the fly, pause after each part (or in the middle, if you know how) to make room etc. Maybe you can trick rar with one named pipe per part, if only the tool doesn't need them to be seekable (I don't know this). What is your OS? – Kamil Maciorowski Oct 10 at 7:06
  • Which operating system? And I counsel not to delete anything, since in case of error you can find yourself with a partial archive, so totally useless, and no files. Find instead an external disk or something. – harrymc Oct 10 at 8:50

Your Answer

Fenrir Wolf is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.