Create a compressed archive named 'my_directory.tar.gz' with files inside directory 'my_directory' without including the directory entry 'my_directory' itself
tar -czvf my_directory.tar.gz -C my_directory .