I have a Tar file:
I've placed it in the directory I would like to extract its contents to on my Web server which is mytestdirectory
I run this command via PuTTY:
tar -xvf testwebsite.tar
Which results in the content being extracted but in this format:
All of the files I would like have appear in
mytestdirectory are contained in the
www.testwebsite.com sub directory.
Is there a way I can move all of the content within this sub directory to the parent directory using the
I was looking around and tried a few answers, one being to run this command from within the sub directory:
mv * .[^.]* ..
But that resulted in this message being shown:
mv: cannot stat `*': No such file or directory mv: cannot stat `.[^.]*': No such file or directory
Could someone please help me on this issue, I'm basically trying to move all of the content (including hidden files) from the sub directory www.testwebsite.com to the parent directory mytestdirectory.