Deleting select files/folders from a RAR without extraction (WinRAR)

0Ebony0

New member
Local time
10:43 AM
Messages
3
I've a bit of a problem here... for the past year I've been attaching different kinds of data to a single .RAR file. This left me with a 245GB .RAR, which I understand, shouldn't have created in the first place. But I did, sadly.

Now, to my knowledge WinRAR doesn't seem to have an option to delete certain files/folders without the need of extraction. I don't have much space left in my HDD, so extraction really isn't an option here.

Is there a command line prompt to help me with this? Thanks in advance, this seems like a nice forum :).

PS: I'm terrible with cmd stuff, so in the case there's a solution like that, please bare with me.
 

My Computer My Computer

At a glance

Windows 7 Home Premium (x64)Intel Core i5-3570 CPU @3.40GHzDual 8GBAMD Radeon HD 7700 Series
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium (x64)
CPU
Intel Core i5-3570 CPU @3.40GHz
Motherboard
ASUS P8H77-M PRO
Memory
Dual 8GB
Graphics Card(s)
AMD Radeon HD 7700 Series
Hard Drives
Western Digital (1TB)
Antivirus
Norton Internet Security
Browser
Mozilla Firefox
Oh man. The only thing I can think of is to extract 1 file at a time. So, extract, delete, extract, delete, extract, delete, etc.
 

My Computer My Computer

Computer type
PC/Desktop
Good idea, but the problem is if I extract a file from the .RAR, I wind up just having the same file both extracted and compressed. I don't know if I'm expressing correctly: When I extract I don't take the file off the .RAR, it just "copies" it outside.

If there IS a way to extract even a single file (say, as in cut>paste), please let me know. Also, I did specify WinRAR in the thread's title, but that doesn't mean I'm not open to other software if it does the job (i.e. WinZIP, Universal Extractor, etc.).

PS: Sorry for the late reply, internet went down for quite some time. It's been really buggy the last few days.
 

My Computer My Computer

At a glance

Windows 7 Home Premium (x64)Intel Core i5-3570 CPU @3.40GHzDual 8GBAMD Radeon HD 7700 Series
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium (x64)
CPU
Intel Core i5-3570 CPU @3.40GHz
Motherboard
ASUS P8H77-M PRO
Memory
Dual 8GB
Graphics Card(s)
AMD Radeon HD 7700 Series
Hard Drives
Western Digital (1TB)
Antivirus
Norton Internet Security
Browser
Mozilla Firefox
Good idea, but the problem is if I extract a file from the .RAR, I wind up just having the same file both extracted and compressed. I don't know if I'm expressing correctly: When I extract I don't take the file off the .RAR, it just "copies" it outside.

If there IS a way to extract even a single file (say, as in cut>paste), please let me know. Also, I did specify WinRAR in the thread's title, but that doesn't mean I'm not open to other software if it does the job (i.e. WinZIP, Universal Extractor, etc.).

PS: Sorry for the late reply, internet went down for quite some time. It's been really buggy the last few days.

Can you just extract the files you want to keep and then delete the archive?
 

My Computer My Computer

Computer type
PC/Desktop
The way WinRAR works, there is no way of deleting files without a complete repack. Within WinRAR there is an option to delete files, but what it really does is to create a NEW .rar file with every other file except the ones you delete. Direct consequence of this is that you need to have that free space for the temporary file, roughly equal to the size of the original .rar file minus the compressed size of the deleted files. Less space than full extraction and recompression by hand, but still a lot.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Can you just extract the files you want to keep and then delete the archive?

The way WinRAR works, there is no way of deleting files without a complete repack. Within WinRAR there is an option to delete files, but what it really does is to create a NEW .rar file with every other file except the ones you delete. Direct consequence of this is that you need to have that free space for the temporary file, roughly equal to the size of the original .rar file minus the compressed size of the deleted files. Less space than full extraction and recompression by hand, but still a lot.

I've only 73GB of free space in my HDD (working on it). I'll consider that option later on, but as of now I'd really like to delete them the way I asked.

I've found some kind of way to deal with this, as I said before, through a command line prompt. I'm not sure if it's allowed to post this (if it's not I'll edit it out ASAP), but this is where I got the info: Xona Games - WinRAR Tip #3: Delete Multiple Files out of Multiple RAR Files

I've tried it that way, but it's no use. I need some kind of instruction with it.
 

My Computer My Computer

At a glance

Windows 7 Home Premium (x64)Intel Core i5-3570 CPU @3.40GHzDual 8GBAMD Radeon HD 7700 Series
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Home Premium (x64)
CPU
Intel Core i5-3570 CPU @3.40GHz
Motherboard
ASUS P8H77-M PRO
Memory
Dual 8GB
Graphics Card(s)
AMD Radeon HD 7700 Series
Hard Drives
Western Digital (1TB)
Antivirus
Norton Internet Security
Browser
Mozilla Firefox
Back
Top