Transfering files


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Transfering files
# 1  
Old 06-23-2002
Transfering files

Hi all.

1. How can i copy files from one unix system to another. should i use ftp? so How?

2. How can i create an archive whose extention is tar.gz? and how can i decompress them later?

3. WHat is RPM ? what does it stands for?

Thanks
vbs
# 2  
Old 06-23-2002
First question... yes you shuold use ftp... as to how to do this - you'll have to read the man page..this will give you all the detail you need. 'man ftp'

Secondly...to create tar.gz archives... you first need to tar the files together and then gzip them together. Once again the commands for tar and gzip are in the man page.....and gunzip will allow you to unzip. (tar is used to compress and expand..the different commands each are detailed in man.)

RPM..."RPM is the RPM Package Manager. It is an open packaging system available for anyone to use. It allows users to take source code for new software and package it into source and binary form such that binaries can be easily installed and tracked and source can be rebuilt easily. It also maintains a database of all packages and their files that can be used for verifying packages and querying for information about files and/or packages. " From www.rpm.org
# 3  
Old 06-25-2002
Power Really thanx

Thanks .

I will try the examples to learn more.

I'd love to learn Unix. You and friends in this forum helps me much. After i become a UNIX MASTER i will also help newbies

Smilie
vbs
# 4  
Old 06-25-2002
You should only use ftp if you are going to be sending data from one unix server to another unix server if you are not overly concerned with security (ie, closed intranet). If you transfering data from one unix server to another unix server across the internet then you want to avoid ftp due to security concerns.

If you will be sending data via internet then you want to look into the programs sftp (secure ftp) and scp (secure copy) that piggy back into SSH (secure shell).
# 5  
Old 06-25-2002
rcp and .rhosts for secure env

If you are in a trusted environment (IE. same building or same network AND inside firewall), you can even use rcp, but both boxes must have each other defined in their .rhosts file.

rcp </path/to/sourcefile> destbox:/path/to/destfile


You must be in a trusted mode for this to be secure!!!







Smilie
# 6  
Old 06-26-2002
Re: rcp and .rhosts for secure env

Quote:
Originally posted by Kelam_Magnus
You must be in a trusted mode for this to be secure!!!
I take off my aluminum hat for nobody! Smilie

I have gotten a lot of good use out of SSH and my network here at the house. Under Win32 I use pscp for copying stuff back and forth a lot and putty for console access. I also use putty to open secure shell tunnels for access to the proxy server under OpenBSD. Works like a charm!

Kelam, do you ever attend the DFWUUG that take place in Dallas? I should since they meet at my work location but it seems that my classes always fall on Tuesday and Thursday so I can't get to the DFWUUG or the Perlmonger meetings. I think it is a consipiracy (hence the need for the aluminum hat).
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

UNIX - FTP changing the mode while transfering the files

Hi, I have to transfer my files using FTP. Few files are in Zipped format (.Z) and few are in .PX format . For zipped files, we need to change the mode to binary while transferring the files whereas for the px files the mode should be ascii. Eg: sample1.z sample2.z sample3.z sample.px ... (2 Replies)
Discussion started by: vidlaks
2 Replies

2. UNIX for Advanced & Expert Users

FTP While transfering files to local machine to remote machine

Hi Am using unix Ksh Am getting the problem while transferring zero size files through the script . When i transfer zero size files from local machine to remote machine manually i can able to do it . My question its beause of zero size files am not able to transfer through script ? or its... (2 Replies)
Discussion started by: Venkatesh1
2 Replies

3. Shell Programming and Scripting

Transfering files from one to another machine in different directories

I have to write script in which I have to copy files from different directories on machine A and put them in corresponding directories in machine B. Here machine A remains same per project and machine B keeps on changing. Is there any way through which I can do this using single remote... (1 Reply)
Discussion started by: madhurjajoo
1 Replies

4. Shell Programming and Scripting

ftp script for transfering files

Hi, I am new to shell scripting,and i was planning to write a script that will FTP files to destination folder. All configuration should be done through a properties files.I was planning that All configuration should be done through a properties files. and finally the output should be... (0 Replies)
Discussion started by: rahul125
0 Replies

5. UNIX for Advanced & Expert Users

FTP is not transfering pdf files correctly

HI Experts, I have following code to FTP all pdf files from remote (win sever) to Linux box. function LsFiles(){ ftp -n -i -v $HT <<end_ftp user $USR $PASSWD cd $DIRNAME ls "-lrt *.pdf" bye end_ftp } LsFiles > list_of_files.txt function getFiles(){ ftp -n -i -v $HT <<end_ftp... (2 Replies)
Discussion started by: dipeshvshah
2 Replies

6. Shell Programming and Scripting

transfering files with a specific name to a folder

Hi I want to transfer all files in a folder to another folder. So the files have a ending of .lop.txt thanks (4 Replies)
Discussion started by: gisele_l
4 Replies

7. Shell Programming and Scripting

Transfering files from windows to unix box through sftp

Hello All, we have scenarion where we need to pull the Files from Windows to Unix Box through SFTP protocol. as per our analysis we did install the cygwin package on the Windows Box to have the openSSH package functionality. 1.Will openSSH help us to achieve the functionality what we are... (3 Replies)
Discussion started by: Amey Joshi
3 Replies

8. Shell Programming and Scripting

automatic transfering of files using scp

I'm in the process of writing a shell script with copies files from one linux box to another using scp. I wish to run this through a cronjob so it cannot be interactive. This is what I have so far. #!/bin/sh PASSWD='passswd' dateset=$( date | awk '{print $2 $3 $6}') for dates in $dateset;... (1 Reply)
Discussion started by: tcruicksh
1 Replies

9. UNIX for Dummies Questions & Answers

transfering files unix to pc

Hi, I'm an intern at a business that just acquired a company that ran off the unix system. They have files on this workstation that they would like to move to a windows XP pro system, but no one (myself included) has enough unix knowledge to know how to do this. It's my understanding that this can... (8 Replies)
Discussion started by: intern
8 Replies

10. UNIX for Dummies Questions & Answers

Transfering files from one server to another.

My oracle database is generating archive logs. I want to copy those archive logs over to backup server on a regular basis. I know how to create an ftp job and I can put it in my crontab. My problem is that I don't know how to send the files just once instead of sends all the files in the... (4 Replies)
Discussion started by: Alan Bird
4 Replies
Login or Register to Ask a Question