How to untar and overwrite existing files
Posted: Tue Jul 17, 2007 11:47 pm
What is the proper commands to untar and overwrite files within a directory?
When I go to my cmsms installation root and upload the tar.gz file and then issue the command I end up with a new directory named "cmsmadesimple-1.1" in which are the untared files. but I don't want to create a new directory, I want the tar file to expand and overwrite the existing files. what am I doing wrong?
I am trying to "fix" an upgrade problem I'm having moving from 1.0.8 to 1.1
I had tried to simply "move" the unzipped files over my existing installation but this resulted in a fatal error which I have another thread on. I'm trying to rectify that by reinstalling over everything. The problem with manually overwriting each file was that when trying to overwrite a directory, i keep getting an error from my ftp client (cyberduck) that the directory is not empty and cannot be renamed.
When I go to my cmsms installation root and upload the tar.gz file and then issue the command
Code: Select all
tar -zxvf cmsmadesimple-1.1.tar.gz
I am trying to "fix" an upgrade problem I'm having moving from 1.0.8 to 1.1
I had tried to simply "move" the unzipped files over my existing installation but this resulted in a fatal error which I have another thread on. I'm trying to rectify that by reinstalling over everything. The problem with manually overwriting each file was that when trying to overwrite a directory, i keep getting an error from my ftp client (cyberduck) that the directory is not empty and cannot be renamed.