Actually I want to move a directory as a whole from one server to another server, provided each of the files/sub-directories under that has the same permission and owner as that of the source.
Use rsync like below :
or with ssh :
Make sure you hav the same set of users owning the files in the source folders present in the destinations else the owner:group would be changed to uid and gid of the source.
I will leave the University I am working, but I need to backup and transfer my research data from UNIX system in our department to my own 750G Hard Drive Storage. But I am not familiar with UNIX. How to do this? Thank you. (5 Replies)
Hi
There is a requirement for me to transfer files from Unix to windows in an automation process of unix.
Please let me know is it posibble to shell scripting this?
Could you help me in scripting it?
Regards
Venugopal (2 Replies)
Hi guys ,
how are you doing?
I am tryng to make a script using cp that i would like to do this:
echo "Enter the name files to tranfer"
then user has to enter via keyboard this kind of output
file1 file 2 file 3 file x
(i mean the number of the files could vary and their name too)... (1 Reply)
Hi,
I got a problem about new user that will be used by another system to transfer files. It threw back with error as below.
ftp> put pom.txt
200 PORT command successful.
553 pom.txt: Permission denied.
I'm not sure that's because the destination directory was created by another user.... (2 Replies)
Hi All,
can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers?
Thanks,
Pranav (1 Reply)
Hi all,
I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
I recently installed AT&T UNIX SysV, on an old Pentium computer. I now find that I am unable to transfer files to and from the computer. I previously posted about problems mounting a floppy drive, but that is just bringing up more problems about the filesystem format.
JGT brought to my attention... (27 Replies)
Hi,
Call me stupid but i accidentally executed following command :
find $INSTALLDIR/ -type f -exec chmod 644 {} \;
now after which I am not able to run any command in system even ls command is giving me error for "permission denied" :( (5 Replies)
Discussion started by: itajooba
5 Replies
LEARN ABOUT DEBIAN
installit
INSTALLIT(1) General Commands Manual INSTALLIT(1)NAME
installit - file/directory installation tool
SYNOPSIS
installit [ -o owner ] [ -g group ] [ -O owner ] [ -G group ] [ -m mode ] [ -b backup ] [ -s ] [ -t ] source destination
DESCRIPTION
Installit puts a copy of source into the specified destination.
If source is a period, then destination is taken to be the name of a directory that should be created. Otherwise, source is taken to name
an existing file and destination may be either a file or directory; it is interpreted according to the same rules as cp(1).
Installit uses no special privileges to copy files from one place to another.
OPTIONS -b If destination names a pre-existing file, it will be removed before the copy is done. To make a backup copy, use the ``-b'' flag;
the existing file will be renamed to have the specified extension. If source and destination are the same string, or if the two
files are identical, then no copying is done, and only the ``-o'', ``-g'', ``-m'', and ``-s'' flags (see below) are processed. In
this case, the modification time on the destination will be updated using touch(1).
-n Do not update the modification time on the destination.
-o -g -m
Once the destination has been created, it is possible to set the owner, group, and mode that it should have. This is done by using
the ``-o'', ``-g'', and ``-m'' flags, respectively.
-O -G The ``-O'' and ``-G'' flags set the owner and group only if installit is being run by root, as determined by whoami(1).
-s To strip(1) an installed executable, use the ``-s'' flag.
BUGS AND LIMITATIONS
Flags cannot be combined.
The chown(8) command must exist in either the /etc or /usr/etc directory or the user's PATH.
The whoami command must exist in the /usr/ucb directory or the user's PATH.
HISTORY
Written by Rich $alz <rsalz@uunet.uu.net> for InterNetNews. This is revision 1.9, dated 1996/10/29.
INSTALLIT(1)