strip directory in tar command
Dear all,
You know when use : Code:
tar -zcvf mytar.tar.gz /var/www/mydir/foo Do you know a useful option in tar command for do it? |
man tar
Code:
--strip-components NUMBER, --strip-path NUMBER |
All times are GMT -5. The time now is 12:24 AM. |