I have a text list of about 3,000 file names (image files), which exist on a server and that I want to copy over to another location. I understand the Unix cp code, but what's the string to have it copy multiple files based on an external list?
Many thanks! (4 Replies)
I have two servers. I would like to copy some files from one directory on server A into the same directory on server B.
Its not all the files in in the directory, just some of them.
Is there a way to make a file list in a txt file and then somehow copy all the files in that list in one go to... (6 Replies)
Hello All,
I would like to download a list of files from a remote server to my local machine preserving the path i.e, create a similar directory tree.
ex:
files on the remote machine with path
/remoteserver/005_S_0221/mpr/m1/I72128/dat/06A515T.dat... (3 Replies)
I want equivalent of ftp in sftp for listing of files into local machine from sftp location.
ftp>ls -l list.txt
the above creates a file list.txt in the local machine's current directory.
sftp>ls -l list.txt
it is giving
Couldn't stat remote file: No such file or directory
is there... (1 Reply)
Hi to all here ,
Excuse me for the lamer question but I need UNIX command for copying List of Files Under Different File Names !
for example I have this list:
new_001.jpg
new_002.jpg
new_003.jpg
.....
I want to copy all files that start with "new_" to the same directory but under... (7 Replies)
Hi, i am new to shell scripting. i have a requirement to copy the files from a windows shared location( vendor will place the files here) to Linux server( my Informatica will pick the files from this location). Files should be loaded in the order in which they were placed in windows box.(Based on... (1 Reply)
Hi all,
I need a suggestion in the following case,
I have folder1, folder2 ,folder3 and file1 inside /home/test/source ..
I need to copy all the folders and files to another location /home/test/destination
Pls suggest any way to program this in C++.. :confused: (1 Reply)
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
Hi,
I need to write a script the has to copy the files from folders and subfolders to the same folder structure located in another location.
Ex:
mainfolder1
file1,file2,file3 subfolder1(file1,etc) subfolder2(file1,etc) to another folder location of same folder structure.
rsync is not... (7 Replies)
Hi All,
i'm trying to copy the 1.txt files (sample files) in to different path location using the below command.
But it is not copying the files , when i tried for single location able to copy the file.
can any one please assist here.
Please find the below path :-
/ckr_mkr1/licencekey... (2 Replies)
Discussion started by: venkat918
2 Replies
LEARN ABOUT CENTOS
repodiff
repodiff(1)repodiff(1)NAME
repodiff - list differences between two or more Yum repositories
SYNOPSIS
repodiff --old=old_repo_baseurl --new=new_repo_baseurl
DESCRIPTION
repodiff is a program which will list differences between two sets of repositories. Note that by default only source packages are com-
pared.
GENERAL OPTIONS --old, -o
Add a repo. as an old repo. Note that if you prefix the url with "mirror:" then the following url is treated as a mirror and not a
baseurl.
--new, -n
Add a repo. as an new repo. Note that if you prefix the url with "mirror:" then the following url is treated as a mirror and not a
baseurl.
--archlist, -a
Add architectures to change the default from just comparing source packages. Note that if you want the same as a native "x86_64"
architecture machine you just need to pass "x86_64" (this is different from earlier versions where you needed to specify
"x86_64,athlon,i686,i586,i486,i386,noarch" and you still got "src").
--size, -s
Output additional data about the size of the changes.
--compare-arch
Normally packages are just compared based on their name, this flag makes the comparison also use the arch. So foo.i386 and
foo.x86_64 are different.
--simple
Output a simple one line message for modified packages.
--downgrade
Split the data for modified packages between upgraded and downgraded packages.
EXAMPLES
Compare source pkgs in two local repos:
repodiff --old=/tmp/repo-old --new=/tmp/repo-new
Compare x86_64 compat. binary pkgs in two remote repos, and two local one:
repodiff -a x86_64 --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new --new=/tmp/repo-new
Compare x86_64 compat. binary pkgs, but also compare arch:
repodiff -a x86_64 --compare-arch --old=http://example.com/repo1-old --old=/tmp/repo-old --new=http://example.com/repo1-new
--new=/tmp/repo-new
Compare two releases of Fedora (15 => 16):
repodiff --old='mirror:https://mirrors.fedoraproject.org/metalink?repo=fedora-source-15&arch=i386' --new='mirror:https://mir-
rors.fedoraproject.org/metalink?repo=fedora-source-16&arch=i386' --size --simple --downgrade
SEE ALSO
yum.conf (5)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
James Antill 21 October 2008 repodiff(1)