Show Bid Request
simple tar
Bid Request Id: 46038
|
|
|
Posted by: |
CheatMode (4 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 16.67%
|
Buyer Security Verifications: |
Good
|
Approved on: |
Jan 30, 2003 2:32:33 PM EDT
|
Bidding Closes: |
Feb 10, 2003 1:50:23 PM EDT
|
Viewed (by coders): |
346 times
|
Deadline: |
2/25/2003
TIME EXPIRED
|
|
|
|
Description:
This project is about writing a program very much like the program tar in unix. The program will be called with a series of file names or directory names as parameters and compress these into a single file. The data should be stored in such a way that the files and directories can be reconstructed from it.
System calls that give info about files and directories should be used.
The program will be named simpletar and will recognise the following parameters:
simpletar {-x|-c} <archive-file> <file-list>
-x : extract the files in <file-list> from <archive-file> (when <file-list> is not given, extract all files from <archive-file>)
-c : store the files in <file-list> into <archive-file>
Note that if the file list contains a directory, all the files under that directory should be stored and then when the -x option is used, simpletar should create a directory with the same name and restore the files there.
About the structure of the <archive file>(see pic):
All files that are stored should be stored one after the other. At the end of the archive file, there will be a dictionary that will contain a series of records, one for each stored file. Each file record contains the file's name, size and the position from which the stored file's data begins, in the stored files section of the archive-file. Finally, there will be a header, that will have a standard size and will provide the positions of the dictionary and the archived data inside the archived file.
Note that the files will NOT be compressed into the archive file. They will be simply stored. That means that they will retain their original size, but they will simply be part of the archive file.
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2)Fully commented source code with comments in english.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
Unix/Linux
The program should be writen in ANSI c and the code should compile without problems in the GNU gcc compiler.
Must be 100% finished and received by buyer on:
Feb 25, 2003 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$20 (USD)
|
Feb 4, 2003 8:37:39 AM EDT
|
10
(Excellent)
|
|
|
see demo (without -c option) attached.
$20 - full source.
|
|
Attached File
|
|
|
|
|