LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   update bsd tar for archiving (https://www.linuxquestions.org/questions/%2Absd-17/update-bsd-tar-for-archiving-379179/)

jyoti100in 11-02-2005 01:50 AM

update bsd tar for archiving
 
Hi...
I'm using freebsd 5.4 release.Now I need to tar backup with --newer option.
That is I want to take incremental backup.but in tar there is no any --newer option.The tar version is older.
How can I update tar verion.I tried with /usr/port/archivers/bsdtar
pkg_add -rv bdstar
but failed to do so.
please help me out.
I cannot use gtar.

frob23 11-02-2005 07:11 AM

If you can't use gtar, I would recommend pax.

You can use pax, easily, with a combination of find to replicate the --newer tag.

find ./ -mtime -10 | pax -w -d -f foo.tar

Where the number after -mtime is used to pick which files you want.

teckk 11-02-2005 03:46 PM

bsdtar should be at
/usr/ports/archivers/bsdtar

Take a look around here.
http://www.freebsdsoftware.org/index.php?c=archivers


All times are GMT -5. The time now is 02:14 AM.