gnu32용 tar

goguma73의 이미지

gnu32용 tar파일과 gzip파일을 다운받아서 사용하고자합니다.
다음과 같은 명령을 실행해도 gz파일이 생성이 안됩니다.

[E\Program Files\GnuW32\bin]tar -cvfz 2.tar.gz 1.txt 2.txt
tar Cannot add file 2.tar.gz No such file or directory
1.txt
2.txt
tar Error exit delayed from previous errors

상기의 디렉토리에 tar파일과 gzip파일이 있는데도
gz으로 압축이 안되고 덩그라니 z라는 파일만 생성이 되더군요...
혹시 윈도에서 tar파일 사용하시는 분 답변 부탁드립니다.
감사합니다.

progcom의 이미지

tar -cvzf 2.tar.gz 1.txt 2.txt

이렇게 해보세요. -f 옵션이 저장할 파일 명을 지정하는 것이기 때문에 바로 뒤에 파일명이 따라와야합니다.

위에서 하신대로라면
tar -c -v -f z 2.tar.gz 1.txt 2.txt
를 실행하신게 되는겁니다.

goguma73의 이미지

음 답변 감사합니다.
일단 제시한대로 해봤는데 다음과 같이 발생합니다.

[E\Program Files\GnuW32\bin]tar -cvzf 2.tar.gz 1.txt 2.txt
tar Cannot fork Function not implemented
tar Error is not recoverable exiting now

hys545의 이미지

goguma73 wrote:
음 답변 감사합니다.
일단 제시한대로 해봤는데 다음과 같이 발생합니다.

[E:\Program Files\GnuW32\bin]tar -cvzf 2.tar.gz 1.txt 2.txt
tar: Cannot fork: Function not implemented
tar: Error is not recoverable: exiting now


혹시 그 tar에 gzip으로 압축하는 기능이 업는거 아닌가여?

즐린

goguma73의 이미지

우연치않게 웹서핑하다가 찾아냈습니다만,
gnu32용 tar 는 -z 옵션을 지원하지 않는다고 합니다.
답변해주신 분 늦게나마 고맙습니다.

hys545의 이미지

goguma73 wrote:
우연치않게 웹서핑하다가 찾아냈습니다만,
gnu32용 tar 는 -z 옵션을 지원하지 않는다고 합니다.
답변해주신 분 늦게나마 고맙습니다.

그럼 gnu=ftp에소 tar최신버젼은 시그윈으로 컴파일해서 사용해보세여

즐린

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.