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.

tar cvf output_filename.tar /path/to/dir1 /path/to/dir2 /path/to/dir3 /path/to/dir4