Computing.Net > Forums > Unix > How to create a file with extension

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How to create a file with extension

Reply to Message Icon

Name: thomas leung
Date: October 9, 2006 at 08:54:14 Pacific
OS: linux
CPU/Ram: Pentinum 4
Comment:

Hello,

I tried to create a tar file in zip format as following:-

[thomas@localhost assignment_3]$ tar -cvfz ass3.tgz *
tar: ass3.tgz: Cannot stat: No such file or directory
ass3
assFiles.tar
:
:
working/myapp.ex.4.2
tar: Error exit delayed from previous errors

What's wrong in the command? Please advise and correct usage.

THanks!
regards,
thomas



Sponsored Link
Ads by Google

Response Number 1
Name: lchi2000g
Date: October 19, 2006 at 06:18:20 Pacific
Reply:

replace:

tar -cvfz ass3.tgz *

with:

tar -cvzf ass3.tgz *

It should be -cvzf not -cvfz.


Luke Chi


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: How to create a file with extension

how to create a beep sound www.computing.net/answers/unix/how-to-create-a-beep-sound/6312.html

How to delete a file named -x www.computing.net/answers/unix/how-to-delete-a-file-named-x/3350.html

How to parse a file of 199 col? www.computing.net/answers/unix/how-to-parse-a-file-of-199-col/7250.html