tar --compare
hello,
how to compare contents of archive to directory? tried this: tar --compare --file=file.tar dir tar --compare --file=file.tar dir/ tar: dir: Not found in archive tar --compare --file=file.tar dir/* tar: dir/file: Not found in archive tar: dir/file: Not found in archive tar: dir/dir: Not found in archive |
Usually the --compare (-d) option is used immediately after having created the archive. You just simply do
Code:
tar -dvf file.tar |
hello,
Code:
tar -cpf file.tar dir to compare when archive is in different location i did: Code:
tar -dvf file.tar -C /path/to/dir Code:
.--. |
All times are GMT -5. The time now is 09:52 AM. |