Sponsored Content
Full Discussion: Wget and tar
Top Forums Shell Programming and Scripting Wget and tar Post 302941890 by cmccabe on Wednesday 22nd of April 2015 12:14:08 PM
Old 04-22-2015
Thank you Smilie
This User Gave Thanks to cmccabe For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to create a Tar of multiple Files in Unix and FTP the tar to Windows.

Hi, On my Unix Server in my directory, I have 70 files distributed in the following directories (which have several other files too). These files include C Source Files, Shell Script Source Files, Binary Files, Object Files. a) /usr/users/oracle/bin b) /usr/users/oracle... (1 Reply)
Discussion started by: marconi
1 Replies

2. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

3. AIX

how to unzip wget-latest.tar.gz

I download wget-latest.tar.gz from Index of /gnu/wget, however, it saved in my windows as wget-latest.tar.tar After I ftp it to aix server, #file wget-latest.tar.tar wget-latest.tar.tar: data or International Language text how to uzip it? ---------- Post updated at 04:13 PM ----------... (3 Replies)
Discussion started by: rainbow_bean
3 Replies

4. Shell Programming and Scripting

tar command dont tar to original directory

HI, if I have a tarfile called pmapdata.tar that contains tar -tvf pmapdata.tar -rw-r--r-- 0/0 21 Oct 15 11:00 2009 /var/tmp/pmapdata/pmap4628.txt -rw-r--r-- 0/0 21 Oct 14 20:00 2009 /var/tmp/pmapdata/pmap23752.txt -rw-r--r-- 0/0 1625 Oct 13 20:00 2009... (1 Reply)
Discussion started by: borderblaster
1 Replies

5. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies

6. UNIX for Dummies Questions & Answers

Do I need to extract the entire tar file to confirm the tar folder is fine?

I would like to confirm my file.tar is been tar-ed correctly before I remove them. But I have very limited disc space to untar it. Can I just do the listing instead of actual extract it? Can I say confirm folder integrity if the listing is sucessful without problem? tar tvf file1.tar ... (1 Reply)
Discussion started by: vivien_chu
1 Replies

7. UNIX for Dummies Questions & Answers

Wget doesn't download eclipse tar.gz

I try to download eclipse IDE from : https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/SR1a/eclipse-cpp-luna-SR1a-linux-gtk-x86_64.tar.gz&mirror_id=1136 but when i run the wget command i get : wget... (2 Replies)
Discussion started by: umen
2 Replies

8. Shell Programming and Scripting

Wget - working in browser but cannot download from wget

Hi, I need to download a zip file from my the below US govt link. https://www.sam.gov/SAMPortal/extractfiledownload?role=WW&version=SAM&filename=SAM_PUBLIC_MONTHLY_20160207.ZIP I only have wget utility installed on the server. When I use the below command, I am getting error 403... (2 Replies)
Discussion started by: Prasannag87
2 Replies

9. AIX

Tar - pre-checking before making the Tar file

Coming from this thread, just wondering if there is an option to check if the Tar of the files/directory will be without any file-errors without actually making the tar. Scenario: Let's say you have a directory of 20GB, but you don't have the space to make Tar file at the moment, and you want... (14 Replies)
Discussion started by: filosophizer
14 Replies
SERVEFILE(1)							   User Commands						      SERVEFILE(1)

NAME
servefile - small HTTP-Server for temporary file transfer SYNOPSIS
servefile [-h] [--version] [-p PORT] [-u] [-s MAX_UPLOAD_SIZE] [-l] [--ssl] [--key KEY] [--cert CERT] [-a user:password] file/directory DISCLAIMER
Do not use this as a normal web server. This server is optimized for running a short time and to send files to other people, not for doing high-performance static file serving. DESCRIPTION
Servefile is a small HTTP-server intended for temporary file transfer mostly in the local network. It aims to make transferring single files as painless as possible and to replace tar/netcat solutions. With just a file as argument servefile serves just that one file and redirects all HTTP requests to that file. Uploads can be done with curl, wget (see EXAMPLES) or a normal browser. In upload mode with -u servefile creates a directory and saves all uploaded files into that directory. When uploading with curl or wget the filename is extracted from the path part of the url used for the upload. For SSL support python-openssl (pyssl) needs to be installed. If no key and cert is given, servefile will generate a key pair for you and display its fingerprint. In --tar mode the given file or directory will be packed on (each) request and piped to the client through the HTTP connection, thus serv- ing always the latest content of the directory and preventing temporary file creaton. Tar files will be created containing only the lowest directory name from the full path, so using /path/to/dir/ as file/directory argument will create a tar file starting with the dir/ direc- tory. When giving a file as argument, only the file without any path will be in the tarfile. Symlinks will not be dereferenced. COMMAND SUMMARY
positional arguments: file/directory file or directory (with -l or -u) which should be served or uploaded to optional arguments: -h, --help Show a help message and exit --version Show program's version number and exit -p PORT, --port PORT Port to listen on -u, --upload Enable uploads to a given directory -s MAX_UPLOAD_SIZE, --max-upload-size MAX_UPLOAD_SIZE Limit upload size in kB. Size modifiers are allowed, e.g. 2G, 12MB, 1B. -l, --list-dir Show directory indexes and allow access to all subdirectories --ssl Enable SSL. If no key/cert is specified one will be generated. --key KEY Key file to use for SSL. If no cert is given with --cert the key file will also be searched for a cert --cert CERT Certfile to use for SSL -a user:password, --auth user:password Set user and password for HTTP basic authentication --realm REALM Set a realm for HTTP basic authentication. This is an arbitrary string which is displayed when doing HTTP basic authentication -t, --tar Enable on the fly tar creation for given file or directory. Note: Download continuation will not be available. -c method, --compression method Set compression method, only in combination with --tar. Can be one of none, gzip, bzip2. -4, --ipv4-only Listen on IPv4 only -6, --ipv6-only Listen on IPv6 only EXAMPLES
Serving a single file with SSL and HTTP Basic auth: servefile --ssl --auth foo:bar the_file Enabling uploads to a directory: servefile -u dir/ Uploading file foo as bar to servefile via command line: curl -X PUT http://ip:port/bar --data-binary @foo curl -X POST http://ip:port/bar --data-binary @foo wget http://ip:port/bar --post-file=foo Serving a on the fly generated tar.gz file of a directory: servefile --tar -c gzip path/to/dir AUTHOR
servefile is developed by Sebastian Lohff <seba@someserver.de> servefile 0.4.2 April 2012 SERVEFILE(1)
All times are GMT -4. The time now is 03:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy