I'm using RAR 3.80 (command-line) on CentOS 5.5.
I have a .rar file called example.rar; if I use the following command then I can clearly see that it displays an archive comment and a list of filenames:
rar l example.rar
Name Size Packed Ratio Date Time Attr CRC Meth Ver
-------------------------------------------------------------------------------
google.txt 72 72 100% 13-07-09 17:42 .....A. 0D3BCA05 m0g 2.0
0001.jpg 835119 835119 100% 10-09-07 11:31 .....A. 51139B05 m0g 2.0
I tried to delete google.txt from the archive using the following command:
rar d example.rar google.txt
However it didn't work and says:
Deleting from example.rar
No files to delete
Any ideas what's wrong?
I also want to overwrite the original archive comment with my own comment. I don't know how to do this, as RAR only has a command to add an archive comment, not delete or replace an existing comment. How can I do that?
