Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to create a Tar of multiple Files in Unix and FTP the tar to Windows. Post 302228754 by marconi on Monday 25th of August 2008 10:50:19 AM
Old 08-25-2008
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
c) /home/oracle/local/csource
d) /home/oracle/local/dat


Query 1) I need to create a Tar File with all the 70 files (which are currently
scattered in the above 4 directories), as mentioned above. Also,
after creating the tar file, I need to ftp this tar file from the Remote
Unix Server to my Windows Desktop.
I tried using 'tar -cvf <filename>' but I could not succeed.

Query 2) Also, if you could please let me know, how I could tar all the files
which are in all the above 4 directories and not specific scattered
files(which I actually want).

Request you to please let me know, how I can do all the above.

Thanks a lot in advance.

With Best Regards,
Marconi.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Create and pw protect .tar files

Ok here at work I have been charged with finding a way to create a password protect .tar files from the command line. Now i have yet to actully sit down and learn UNIX yet, but that is one of my next todo's. Anyway my questions is I have been surfing in search of a solution and the closest answer... (5 Replies)
Discussion started by: clovell
5 Replies

2. UNIX for Dummies Questions & Answers

Tar multiple files

Hi All, There 2 files in the folder /temp/tst/ 1.txt 2.txt When I run the command find /temp/tst \( -name "*.txt" \) -exec tar cf /temp/123.tar {} \; it creates the tar file 123.tar with only one file in it and that is 2.txt.But if I use the command find /temp/tst \( -name "*.txt"... (1 Reply)
Discussion started by: rony_daniel
1 Replies

3. UNIX for Dummies Questions & Answers

diff between TAR+zip+FTP and TAR+FTP

Huloo, whats diff between TAR+zip+FTP and TAR+FTP,can't we simpply FTP a file without Zipping it? TAR is simply for Archiving ,then why do we need to Zip it? :( (1 Reply)
Discussion started by: swarup2008
1 Replies

4. Solaris

Find files older than x days and create a consolidated single tar file.

Hello, I need help in finding files older than x days and creating a single consolidated tar file combining them. Can anyone please provide me a script? Thanks, Dawn (3 Replies)
Discussion started by: Dawn Bosch
3 Replies

5. 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

6. 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

7. UNIX for Dummies Questions & Answers

Create Tar and GZip files under Unix

Hi All I have 2 tar files and inside a Gzip file (actually its folder) that i got from a Unix user to check the code for him and find some problem. I decompress the Tar file and use 7-ZIP to open the Gzip file and Extract all folders and files. I found the code problem and change it but now when... (1 Reply)
Discussion started by: giladboker
1 Replies

8. Solaris

How to FTP (get multiple) unix files to windows using visual basic 6

How to FTP (get multiple) unix files to windows using visual basic 6. I am a list of files in my unix location, need to ftp those files to windows machine using Visual basic 6 or VBA macros. Thanks in Advance (3 Replies)
Discussion started by: sureshmani
3 Replies

9. Shell Programming and Scripting

How to create zip/gz/tar files for if the files are older than particular days in UNIX or Linux?

I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also? I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies

10. UNIX for Dummies Questions & Answers

Create Tar files

Hi, the folder /home/nandy/test will have two files called notepad1 nodepad2 when i issued /home/nandy/test> tar -cvf componse.tar ./notepad1 ./notepad2 and no error /home/nandy/test> tar -cvf nan.tar . --> this creates nan.tar with the below message nan.tar same... (1 Reply)
Discussion started by: Nandy
1 Replies
WNPKGS(7)							     WordNettm								 WNPKGS(7)

NAME
wnpkgs - description of various WordNet system packages DESCRIPTION
WordNet 3.0 is distributed in several formats and in various packages. All of the packages are available via anonymous FTP from ftp.cogsci.princeton.edu and from the WordNet Web site at http://wordnet.princeton.edu. Packages Available Via FTP and WWW The following WordNet packages can be downloaded using a web browser from ftp://ftp.cogsci.princeton.edu/wordnet/3.0, or from the Web site noted above. Users can also FTP directly from ftp.cogsci.princeton.edu, directory wordnet/3.0. +----------------+---------------------+-----------+-------------------------------+ | Package | Filename | Platform | Description | +----------------+---------------------+-----------+-------------------------------+ |Database | WordNet-3.0.tar.gz | Unix/OS X | WordNet 3.0 database, inter- | | | | | faces, sense index, interface | | | | | and library source code, doc- | | | | | umentation. | |Database | WordNet-3.0.exe | Windows | WordNet 3.0 database, inter- | | | | | faces, sense index, interface | | | | | and library source code, doc- | | | | | umentation. | |Prolog Database | WNprolog-3.0.tar.gz | All | WordNet 3.0 database files in | | | | | Prolog-readable format, docu- | | | | | mentation. | |Sense Map | WNsnsmap-3.0.tar.gz | All | Mapping of 2.1 to 3.0 senses, | | | | | documentation. | +----------------+---------------------+-----------+-------------------------------+ Database Package The database package is a complete installation for WordNet 3.0 users. It includes the 3.0 database files, source code for the WordNet browsers and library, and documentation. The other packages are not included - they must be downloaded and installed separately. Note that with this version of WordNet for Unix platforms, only source code is provided. Users should carefully read the README and INSTALL files for detailed information on compiling WordNet and dependencies. Prolog Database Package The WordNet 3.0 database files are available in this package in a Prolog-readable format. Documentation describing the file format is included. This package is only downloadable in compressed tar file format, although once unpackaged it can be used from Windows systems since the files are in ASCII. Many Windows utilities, such as WinZip, can deal with a compressed tar file. Sense Map Package To help users automatically convert 2.1 noun and verb senses to their corresponding 3.0 senses, we provide sense mapping information in this package. This package contains files to map polysemous and monosemous words, and documentation that describes the format of these files. As with the Prolog database, this package is only downloadable in compressed tar format, but the files are also in ASCII. NOTES
The lexicographer files and grind(1) program are not generally distributed. All of the packages described above may not be available at the time of release of the 3.0 database package. SEE ALSO
wnintro(1), wnintro(3), wnintro(5), wnintro(7). WordNet 3.0 Dec 2006 WNPKGS(7)
All times are GMT -4. The time now is 03:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy