Nick Lewis <
Nick.Lewis@atlt...> ha escrit:
> [root@asterisk1 factory]# ls
> configurations factorydefault.tar.gz
> [root@asterisk1 factory]# ls configurations
> etc tmp usr var
> [root@asterisk1 factory]# tar -cz
> --file=/tmp/ampbackups.factorydefault/configurations.tar.gz
> --directory=configurations *
Before executing this command, the shell first expands the asterisk and
gets:
tar -cz \
--file=/tmp/ampbackups.factorydefault/configurations.tar.gz \
--directory=configurations configurations factorydefault.tar.gz
Then it launches tar. Now, tar changes to the directory `configurations'
and begins archiving files from its command line, i.e. `configurations' and
`factorydefault.tar.gz'. Of course it does not find them and issues the
diagnostics you get.
Regards,
Sergey
opensubscriber is not affiliated with the authors of this message nor responsible for its content.