07-21-2013
How to copy files from remote server to local?
I am not sure if you have understood my complete requirement here?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
im a newbie using unix. My local computer OS is Windows XP while server is
using Unix. May i know how to transfer file from local computer to server? i do not know the commands.
Thanks. :) (3 Replies)
Discussion started by: sagolo
3 Replies
2. Shell Programming and Scripting
Hi,
I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
Discussion started by: berlin_germany
2 Replies
3. UNIX for Dummies Questions & Answers
Hi. I'm sorry if I get on people's nerves asking this, but I don't really understand how to do this and unfortunately don't have the time to work through it step by step in books, etc.
At University, we have a unix server that hosts our files. we each have a login and password to access it. I... (3 Replies)
Discussion started by: patwa
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
Just wanted to know, how can I ftp/transfer/copy a (design.tar.gz) archive from a Unix Server (sdmc222.sdmc.cp-srv.com) which is at a remote location, to my Windows Desktop. Obviously, it is not possible at cmd prompt on my Windows using the following commands :-
ftp... (3 Replies)
Discussion started by: marconi
3 Replies
5. Shell Programming and Scripting
Hi All,
what is the comand to log off the remote server?
I have 2 servers A, B. I need to find all files older than 7 days on server B and copy over to server A. My logic is:
login the remote server:
=================
ssh hostB
cd /data/test
find . -mtime -7 -ls | awk '{print... (4 Replies)
Discussion started by: Beginer0705
4 Replies
6. UNIX for Dummies Questions & Answers
Hi Friends,
Could you please help me as per my requirement mentioned below ?
I have to copy files from one unix server to another unix server, and the files that i need to copy from the remote server are only those which are modified/created Today from abc directory on the remote server (1 Reply)
Discussion started by: ramask
1 Replies
7. UNIX for Dummies Questions & Answers
Good evening
I need your help pease
I know there are 2 commands(diff, or cp) to compare files in a directory. but the question arises:
1. can i compare zip files or ive got to unzip them?
2. how can i compare 2 files from a local to a remote server? (is there any special commad or ive got... (4 Replies)
Discussion started by: alexcol
4 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I need to create a shell script which will copy files - which are created on particular date and starting with particular name - to local windows XP machine.
Is this possible.?
Currently it is being done manually using winscp (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
9. Solaris
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies
10. Shell Programming and Scripting
I'm trying to copy a file myfile.scr from my local Linux server to multiple folders on remote AiX server using single rsync command.
Below command helps me copy the file "myfile.scr" from my localhost to a remote host folder "/app/deployment/tmpfiles"
rsync --delay-updates -F --compress... (1 Reply)
Discussion started by: mohtashims
1 Replies
aesub(1) aesub(1)
NAME
aesub - substitute and echo strings
SYNOPSIS
aesub [ option... ] string ...
aesub -Help
aesub -VERSion
DESCRIPTION
The aesub command is used to perform the usual aesub(5) substitutions on its command line arguments, and then echo them to the standard
output.
Shell Script Quoting
The aesub(1) command is often used in shell scripts. It is important to remember that the shell will do its own substitutions on the com-
mand line argument before it invokes the aesub(1) command. Usually, you don't want this to happen, so you need to use single (') quotes
to do this. (The shell continues to substitute inside double (") quotes.)
Quote aesub(1) arguments using ' single ' quotes.
OPTIONS
The following options are understood:
-BaseLine
This option may be used to specify that the project baseline is the subject of the command.
-Change number
This option may be used to specify a particular change within a project. See aegis(1) for a complete description of this option.
-File filename
Take the text to be substituted from the specified file. The filename `-' is understood to mean the standard input.
-Help
This option may be used to obtain more information about how to use the aesub program.
-Project name
This option may be used to select the project of interest. When no -Project option is specified, the AEGIS_PROJECT environment
variable is consulted. If that does not exist, the user's $HOME/.aegisrc file is examined for a default project field (see aeu-
conf(5) for more information). If that does not exist, when the user is only working on changes within a single project, the
project name defaults to that project. Otherwise, it is an error.
See also aegis(1) for options common to all aegis commands.
All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are
optional. You must use consecutive sequences of optional letters.
All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important.
For example: the arguments "-project, "-PROJ" and "-p" are all interpreted to mean the -Project option. The argument "-prj" will not be
understood, because consecutive optional characters were not supplied.
Options and other command line arguments may be mixed arbitrarily on the command line, after the function selectors.
The GNU long option names are understood. Since all option names for aesub are long, this means ignoring the extra leading '-'. The
"--option=value" convention is also understood.
EXIT STATUS
The aesub command will exit with a status of 1 on any error. The aesub command will only exit with a status of 0 if there are no errors.
ENVIRONMENT VARIABLES
See aegis(1) for a list of environment variables which may affect this command. See aepconf(5) for the project configuration file's
project_specific field for how to set environment variables for all commands executed by Aegis.
SEE ALSO
aesub(5)
Available string substitutions.
COPYRIGHT
aesub version 4.24.3.D001
Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Peter
Miller
The aesub program comes with ABSOLUTELY NO WARRANTY; for details use the 'aesub -VERSion License' command. This is free software and you
are welcome to redistribute it under certain conditions; for details use the 'aesub -VERSion License' command.
AUTHOR
Peter Miller E-Mail: millerp@canb.auug.org.au
//* WWW: http://www.canb.auug.org.au/~millerp/
Reference Manual Aegis aesub(1)