09-23-2007
How do you copy files from CD
How do you copy files fra a cd-rom to a directory on the computer?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Under the home directory, I want to search for all the *.xml files and move them all into another folder under home.
Is it possbile using a single find command .
Regards,
Chirayu Sutaria (6 Replies)
Discussion started by: chirayus
6 Replies
2. UNIX for Advanced & Expert Users
hi all
i have a script,which when executed must copy 3 files from a directory on boxA to the same directory on boxB.I'm using scp to copy these files,the problem is out ofthe 3 files only1 is been copied and not the other 2, i have permissons for the files,any ideas are appreciated
thnks (2 Replies)
Discussion started by: bkan77
2 Replies
3. Shell Programming and Scripting
Hi all,
I would want to copy everything in a particular directory. However would want to exclude 2 files:
DIMStemp01.dbf
DIMSts01.dbf
I tried to:
(1) ls files except these 2 files into abc.txt
(2) Read from abc.txt and start copying.
It works, however is there any easier way? Eg.... (6 Replies)
Discussion started by: *Jess*
6 Replies
4. UNIX for Dummies Questions & Answers
hello
i would like to copy files from 1 location to a nother, but it has only to copy files which are newer or have a different filesize.
all has to be logged to a copy.log file (als skipped files should be in the log)
is this possible with the cp command (1 Reply)
Discussion started by: arnoldg
1 Replies
5. UNIX and Linux Applications
how i can copy all files " select all " in one step
t try command cp -t (2 Replies)
Discussion started by: walidfinder
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Team,
I am unable to copy the files, when i run the below script, i am getting error as file not present, not sure what i am missing.
# File to be looked upon
File_Pattern='*.zip'
TMP_FILE=flagfile
Check=`find $Directorypath -name $File_Pattern -type f -newer $TMP_FILE -print |... (6 Replies)
Discussion started by: Naveen_5960
6 Replies
7. Solaris
Hello everyone. Need some help copying a filesystem. The situation is this: I have an oracle DB mounted on /u01 and need to copy it to /u02. /u01 is 500 Gb and /u02 is 300 Gb. The size used on /u01 is 187 Gb. This is running on solaris 9 and both filesystems are UFS.
I have tried to do it using:... (14 Replies)
Discussion started by: dragonov7
14 Replies
8. Shell Programming and Scripting
....... (2 Replies)
Discussion started by: pcbuilder
2 Replies
9. Red Hat
I have directory that has some billion file inside , i tried copy some files for specific date but it's always did not respond for long time and did not give any result.. i tried everything with find command and also with xargs..
even this command find . -mtime -2 -print | xargs ls -d did not... (2 Replies)
Discussion started by: before4
2 Replies
10. UNIX for Dummies Questions & Answers
Hi all, I am a bit of a beginner with shell scripting..
What I want to do is merge two drives, for example moving all data from X to Y.
If a file in X doesn't exist in Y, it will be moved there.
If a file in X also exists in Y, the most recently modified file will be moved to (or kept) in... (5 Replies)
Discussion started by: apocolapse
5 Replies
LEARN ABOUT DEBIAN
dpkg-repack
DPKG-REPACK(1) General Commands Manual DPKG-REPACK(1)
NAME
dpkg-repack - put an unpacked .deb file back together
SYNOPSIS
dpkg-repack [--root=dir] [--arch=architecture] [--generate] packagename [packagename ...]
DESCRIPTION
dpkg-repack creates a .deb file out of a Debian package that has already been installed on your system.
If any changes have been made to the package while it was unpacked (ie, conffiles files in /etc modified), the new package will inherit the
changes. (There are exceptions to this, including changes to configuration files that are not conffiles, including those managed by ucf.)
This utility can make it easy to copy packages from one computer to another, or to recreate packages that are installed on your system, but
no longer available elsewhere.
Note: dpkg-repack will place the created package in the current directory.
OPTIONS
--root=dir
Take package from filesystem rooted on <dir>. This is useful if, for example, you have another computer nfs mounted on /mnt, then
you can use --root=/mnt to reassemble packages from that computer.
--arch=architecture
Make the package be for a different architecture. dpkg-repack cannot tell if an installed package is architecture all or is spe-
cific to the system's architecture, so by default it uses dpkg --print-architecture to determine the build architecture. If you know
the package is architecture all, you can use this option to force dpkg-repack to use the right architecture.
--generate
Generate a temporary directory suitable for building a package from, but do not actually create the package. This is useful if you
want to move files around in the package before building it. The package can be built from this temporary directory by running "dpkg
--build", passing it the generated directory.
packagename
The name of the package to attempt to repack. Multiple packages can be listed.
BUGS
This program accesses the dpkg database directly in places, querying for data that cannot be gotten via dpkg.
There is a tricky situation that can occur if you dpkg-repack a package that has modified conffiles. The modified conffiles are packed up.
Now if you install the package, dpkg does not realize that the conffiles in it are modified. So if you later upgrade to a new version of
the package, dpkg will believe that the old (repacked) package has older conffiles than the new version, and will silently replace the
conffiles with those in the package you are upgrading to.
While dpkg-repack can be run under fakeroot and will work most of the time, fakeroot -u must be used if any of the files to be repacked are
owned by non-root users. Otherwise the package will have them owned by root. dpkg-repack will warn if you run it under fakeroot without
the -u flag.
AUTHOR
Joey Hess <joeyh@debian.org>
DEBIAN
Debian Utilities DPKG-REPACK(1)