Sponsored Content
Full Discussion: Transfering files
Top Forums UNIX for Dummies Questions & Answers Transfering files Post 23426 by peter.herlihy on Sunday 23rd of June 2002 09:24:40 PM
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
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
GPT-PKG(8)						User Contributed Perl Documentation						GPT-PKG(8)

NAME
gpt-pkg - Creates flavored binary packages out of an installation SYNOPSIS
gpt-pkg [options] packages Options: -verbose Print copious output -help Print usage -man Print man page. -version Print GPT version. -native Create native pkgs as well as GPT pkgs (RPMs only). -all Archive everything in the package directory.. -installdir=PATH Override $GLOBUS_LOCATION -pkgdir=PATH Directory to put the packages -rpmprefix=PATH Absolute path encoded in the RPM. -buildnumber=NUMBER Build number used for pgm_static packages -rpmlicense=LABEL License Label added to the RPM header [packages] List of packages to be archived DESCRIPTION
gpt-pkg Creates binary packages from an installation. The installation needs to contain GPT packaging data files. An installation is created by running gpt-build on a collection of source packages or bundles. FILES IN PGM PACKAGES
Installed files such as executables that are found in pgm and ptm_static packages will overwrite one another when multiple flavors of the same package are built by gpt-build. To preserve multiple flavors of these files, gpt-build copies them into flavored subdirectories. For example, the program $GLOBUS_LOCATION/bin/foo will be copied into the location $GLOBUS_LOCATION/bin/gcc32/shared if it was built with dynamically with the gcc32 flavor. gpt-pkg retrieves these files and copies them back to their proper location before packaging them. Thus gpt-pkg will also overwrite these files as it archives the different flavors of a pgm package. OPTIONS
-installdir Specify the directory in which the installed files currently live. If this argument is not supplied, the value of the environment variable GLOBUS_LOCATION is used instead. -all Packages all of the binaries in an installation. -native Creates a package in the native packaging format. Currently only rpm is supported. -rpmprefix=<path_to_installation> This should be set to the path to your GLOBUS_LOCATION. GPT will use a value of "/usr/grid" if this option is not specified. -rpmlicense=<label> Provides an alternate copyright label for the rpms. The default is whatever GPT was configured with. -verbose Prints out all of the build messages. -log=FILE Appends all of the build messages to FILE. This option also sets -verbose. -help Print a brief help message and exits. -man Prints the manual page and exits. -version Prints the version of GPT and exits. pgm and pgm_static packages gpt-build copies the files for these packages in a flavored location because different flavors of these types of packages will conflict with each other. gpt-pkg restores these files when it packages pgm and pgm_static types. SEE ALSO
gpt-bundle(8) gpt-install(8) gpt-build(8) AUTHOR
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <blau.mcs.anl.gov> perl v5.14.2 2012-04-30 GPT-PKG(8)
All times are GMT -4. The time now is 09:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy