Add files without replacing the path
-
I have a file called test.test (for example) in the .tar archive that extracts to C:\test
I have updated the test.test file and want to re-add it to the archive , but whenever I add the file it replaces the path.
How can I replace the file but keep the same path?
Brad
-
Sorry, but I have no idea what you are trying to do or where the problem is.
I have a file called test.test (for example) in the .tar archive
So you create a .tar file Brad2.tar from test.test - correct?
How do you do this?that extracts to C:\test
I don’t understand this, do you mean you activated “Store full path” instead of “store relative path” or something else such as creating a self extracting file??
I have updated the test.test file and want to re-add it to the archive , but whenever I add the file it replaces the path.
How are you trying to “re-add it to the archive”??
What do you mean by “it replaces the path” from what to what??Step by step (click by click) or screenshots/example archives please.
-
ill try to make it simpler.
I have a archive called brad.tar.gz
inside the archive are several files that look like this:
NAME TYPE MODIFIED PATH
admin.php php file 5/5/2005 C:\data\data2
config.php php file 5/5/2005 C:\data\data2therfore if I extract the archive it will place the admin.php file and config.php file in the C:\data\data2 directory. Am I clear so far?
Now I updated the config.php file and I want to add it back to the brad.tar.gz file so taht the archive contains the updated config.php file, but i do not want to replace the path.
My problem is that when I add the config.php file back to the brad.tar.gz archive it looks like this:
NAME TYPE MODIFIED PATH
admin.php php file 5/5/2005 C:\data\data2
config.php php file 5/5/2005therfor when i extract it, the file gets extracted to whatever directory i am in and not the c:\data\data2 directory.
Hope that makes more sense.
Brad
-
So the gz file was created with option “Store full path” - OK
when I add the config.php file back to the brad.tar.gz archive
How?
If I open a .tar.gz file in PA.
Drag modified file from windows explorer and drop onto PA window - I get Add/Replace dialog and can verify that “Store full path” is still selected. Then it stores new file with path information as before.