i want to tar the contents inside /some/directory/ and this directory has lots of files and other sub directories in it.
what is the actual difference between the below tar commands, i noticed the latter command contains more files in the tar archive compared to the first one.
i compared by using
tar -tvf | wc -l on each archive
cd /some/directory/ tar -cvf /tmp/directory.tar *
tar -cvf /tmp/directory.tar -C /some/directory/ .