Quick question on curl and tar
I sometimes do this; Code:
curl http://downloads.sourceforge.net/foo-bar.tar.bz2 | (tar -xjvf -) After that, I cd into the "foo-bar" folder and do this again (if there is a patch); Code:
curl ftp://some-ftp.net/foobar/foo-bar-fixes-123.patch | (patch -Np1 -i -) Thanks |
Why would it do anything “bad”? Looks perfectly healthy to me. You might want to store as a temporary file and do an integrity check, however.
|
thanks for the speedy reply. Just did a quick check of a directory using my method against the one from the source tarball and "diff -Naur" finds no differences. Thanks!:)
|
All times are GMT -5. The time now is 04:34 PM. |