5

Extraction of .tar.gz creates additional unwanted directories

view full story
linux-howto

http://www.unix.com – I'm working on a project that requires me to compress then relocate directories to a different location based on their last date of modification. After running the script I check to see if it worked, and upon unzipping the tar.gz using [tar -zxvf] I created everything that should be there is. I then performed the [ls] command, and saw that two additional directories had shown up after the extraction of the tar.gz, my home and downloads directories. I'm VERY new to bash so I am probably missing something obvious but here is my script, and help would be appreciated! Code: cd ../Downloads (HowTos)