Hi,
I am using AIX 5.2, and I want to copy some files from one server to a remote server using tar command. Can anybody tell me exact command?
Thanks.
Aqeel (2 Replies)
Hello,
I'm sorry if this sounds like a very simple question, but I'm having some difficulty with it being a complete newbie to UNIx. I use Windows, and always have, but need some UNIX access for work, picking up files from our group space, etc.
Basically, I'm using Cygwin and can SSH into the... (3 Replies)
hi,
i want to copy files from a remote computer in a network to a specific directory on my PC. ( script )
Forexample , IP of the remote PC is 172.16.5.24 login:aaaa Passw:123
/folder1/file1.txt to my pc folder /fd/awa.txt
kinldy help
Thanks (2 Replies)
Hello,
I wrote a basic script that works however I am was wondering if it could be sped up. I am comparing files over ssh to remove the file from the source server directory if a match occurs. Please Advise me on my mistakes.
#!/bin/bash
for file in `ls /export/home/podcast2/"$1" ` ; do
... (5 Replies)
Hi,
I am just wondering is it possible to move or copy a file from a UNIX server to a different location e.g. the C drive on a computer?
I have used the cp command to move files to different locations on unix servers but it would be handy to move a file to my C drive.
I am currently... (3 Replies)
Hi guys Maybe a stupid question.. IS possible, in unix, to copy files to a remote NFS shared filesystem without mounting it? Just like windows does: copy * \\folderA\folderB Thanks.. (4 Replies)
dear all,
i'm preparing a script which can do these actions :
1. stop remove server's certain service
2. clean the files on remote servers simultaneously (because lots of files need to be deleted)
3. after files/logs are removed, restart the service again
i'm stuck on how to clean remote... (4 Replies)
Hi,
I have a 60 GB file (tar file) in server1 and I have mounted server2 (using nfs mount) on server1 and then I am copying the file from server1 to server2. Even after 6 hours, the file copying is still not completed.
It has just copied 20 GB of file so far.
Please help me identify this... (3 Replies)
I am trying to copy code to remote server, doing something like this
However it is copying one file and than the script exits
i=0; j=0
while read fn; do
dir=${fn%/*} # Gets directory path
fnm=${fn##*/} # Gets filename excl. path
rgx_nwk="s/${nwk}/${nwk}.sac/g"
... (2 Replies)
Shell script for connecting multiple servers and then copying 30 days old files from those server .
HI ,
I have 6 multiple servers
pla1,pla2,pla3,pla4,pla5,pla6
1. These six servers have common shared mount point /var/share
2. Running script from /var/share to connect these servers.I... (1 Reply)
Discussion started by: rcroyal88
1 Replies
LEARN ABOUT V7
uucp
UUCP(1C)UUCP(1C)NAME
uucp, uulog - unix to unix copy
SYNOPSIS
uucp [ option ] ... source-file ... destination-file
uulog [ option ] ...
DESCRIPTION
Uucp copies files named by the source-file arguments to the destination-file argument. A file name may be a path name on your machine, or
may have the form
system-name!pathname
where `system-name' is taken from a list of system names which uucp knows about. Shell metacharacters ?*[] appearing in the pathname part
will be expanded on the appropriate system.
Pathnames may be one of(1) a full pathname;
(2) a pathname preceded by ~user; where user is a userid on the specified system and is replaced by that user's login directory;
(3) anything else is prefixed by the current directory.
If the result is an erroneous pathname for the remote system the copy will fail. If the destination-file is a directory, the last part of
the source-file name is used.
Uucp preserves execute permissions across the transmission and gives 0666 read and write permissions (see chmod(2)).
The following options are interpreted by uucp.
-d Make all necessary directories for the file copy.
-c Use the source file when copying out rather than copying the file to the spool directory.
-m Send mail to the requester when the copy is complete.
Uulog maintains a summary log of uucp and uux(1) transactions in the file `/usr/spool/uucp/LOGFILE' by gathering information from partial
log files named `/usr/spool/uucp/LOG.*.?'. It removes the partial log files.
The options cause uulog to print logging information:
-ssys Print information about work involving system sys.
-uuser Print information about work done for the specified user.
FILES
/usr/spool/uucp - spool directory
/usr/lib/uucp/* - other data and program files
SEE ALSO uux(1), mail(1)
D. A. Nowitz, Uucp Implementation Description
WARNING
The domain of remotely accessible files can (and for obvious security reasons, usually should) be severely restricted. You will very
likely not be able to fetch files by pathname; ask a responsible person on the remote system to send them to you. For the same reasons you
will probably not be able to send files to arbitrary pathnames.
BUGS
All files received by uucp will be owned by uucp.
The -m option will only work sending files or receiving a single file. (Receiving multiple files specified by special shell characters
?*[] will not activate the -m option.)
UUCP(1C)