Hello.
Assumed conditions:
$ pwd
/home/<$USER>
$ ls -d
DDA script working properly contains those strings of code:
tar -xvf DD/00.tar.xz -C DD
tar -xvf DD/01.tar.xz -C DDAs it appears those strings don't have tar command options that follow '
-C DD', which then are indications that there does not exist subject to be affected in each string. Since the task of '
-C' is to change into directory, as i understand the way '
cd DIR' does, i wonder may those strings respectively equal as follows
tar -xvf DD/00.tar.xz
cd DD
and
tar -xvf DD/01.tar.xz
cd DDHowever after
tar -xvf DD/00.tar.xz
cd DDwe would have
$ pwd
/home/<$USER>/DDThus, this would make
'tar -xvf DD/01.tar.xz' unable to find
01.tar.xz.
Despite i understand the sentence in TAR(1),
Change to DIR before performing any operations. This option is order-sensitive, i.e. it affects all options that follow., i don't comprehend what it is intended to mean to non-developer readers, which i am. I would appreciate if i could receive a definition that would make me comprehend. Regards.