Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Find & Copy Selected files to another Directory Post 302305042 by laurentv on Tuesday 7th of April 2009 09:46:32 PM
Old 04-07-2009
Sorry to ask but did you used the exact expression posted by ldapswandog ?
just replacing "/destination/directory" by the path you wanted and not omiting the "\;" after it ?
because that should work !
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

find files and copy into a directory

hi all, can u please help me in finding all ksh file in directory and including all subdirectories and then copy those files into another directory. thanks in advance -bali (4 Replies)
Discussion started by: balireddy_77
4 Replies

2. Shell Programming and Scripting

shell script to find and copy the files creted in the year 2006 to another directory

Hi All, I am new to UNIX. I will be thankful if some one helps me. I have to write a shell script for one of the requirement. I have files created from Jan 2006 to March 2008. My requirement is to write a script in such a way that 1) To find and copy(not Moving) the files created in the... (2 Replies)
Discussion started by: manas6
2 Replies

3. Shell Programming and Scripting

find & copy files with absolute path

hi all, can i get script find file & copy that file with path for an example sourse : /home/abc/ destination : /home/backup/ files which need to find : tmp* copy these files with its absolute path inside like :- /home/abc/x/y/z/tmp.txt to /home/backup/date/x/y/z/tmp.txt thanks in... (15 Replies)
Discussion started by: jagnikam
15 Replies

4. Shell Programming and Scripting

find list of files from a list and copy to a directory

I will be very grateful if someone can help me with bash shell script that does the following: I have a list of filenames: A01_155716 A05_155780 A07_155812 A09_155844 A11_155876 that are kept in different sub directories within my current directory. I want to find these files and copy... (3 Replies)
Discussion started by: manishabh
3 Replies

5. Shell Programming and Scripting

find and copy file to another directory..

Hi Everybody, i want a samll help to write a script. i had source location with :/user/bin (bin contains subdirectories with like names emails etc and had several files in each subdirectory) and target location with :/usr/scripts (having same subdirectories names and had some files)... (1 Reply)
Discussion started by: Reddy482
1 Replies

6. UNIX for Dummies Questions & Answers

How to find and copy files from one directory to another

Ok i have three directories Destination - /u/dir1 (has subdirectories dir2 which also has subdirectory dir3) Source1 - /u/test/files/dir1/dir2/dir3 Source2 - /u/out/images/dir1/dir2/dir3 What i would like to do is copy everything from Source1 and Source2 into the Destination directory.... (3 Replies)
Discussion started by: ziggy25
3 Replies

7. Shell Programming and Scripting

Perl Script to find & copy words from Web.

I need to write a perl script to search for a specific set of numbers that occur after a series of words but before another. Specifically, I need to locate the phrase today at the summit, then immediately prior to the words tonnes/day copy the number that will be between 100 and 9,999, for example,... (1 Reply)
Discussion started by: libertyforall
1 Replies

8. Shell Programming and Scripting

Script to find and email selected files

I am trying to come up with a script that will search for selected files and then email them to me. For example, say I have a directory that has the following files: AA_doug.txt AA_andy.txt BB_john.txt APPLE_mike.txt GLOBE_ed.txt GLOBE_tony.txt TOTAL_carl.txt what is the best way to... (2 Replies)
Discussion started by: coach5779
2 Replies

9. Shell Programming and Scripting

Find and copy these files to particular directory

RedHat Enterprise Linux 5.4 I have some files with the extension .cdp in several directories in various mountpoints(filesystems) . I would like to find and copy all these files into a single directory /u03/diagnore/data. How can I do this ? (3 Replies)
Discussion started by: kraljic
3 Replies

10. Shell Programming and Scripting

Compressing & removing files in a directory & subdirectory

Hi, I want a simple line of code that will compress files within a directory specified (parameter) and its subdirectories and also i want to remove files which are exactly 365 days old from the sysdate after this compression. Please help. Thanks, JD (8 Replies)
Discussion started by: Jesshelle David
8 Replies
icmstart.rc(7)						      icmstart resource file						    icmstart.rc(7)

NAME
icmstart.rc - The icmstart(1) resource file DESCRIPTION
The icmstart.rc file defines the initial files of a program that are installed by icmstart(1). By default icmstart.rc is found in /etc/icmake/icmstart.rc, but if a file $HOME/.icmake/icmstart.rc is found then the latter file is used by icmstart(1). $HOME/.icmake/icmstart.rc in turn is overruled by specifying a -c option when invoking icmstart(1). The default resource file contains the following specifications, preparing for the construction of a C++ program using icmbuild(1): CLASSES P main.cc P main.ih P usage.cc P version.cc P ? scanner P ? parser The icmstart.rc file may contain: o empty lines, which are ignored; o lines beginning with a hash-character (#), also ignored; o Optionally: a P (don't install with icmstart xxx library) or an L (don't install with icmstart xxx program), followed by a blank; see also icmstart(1). o Optionall: a ? (followed by a blank) following the optional P or L in which case the installation of the element must be confirmed by the user. o Source path names. Relative path names are interpreted relative to the current working directory. Environment variables are not expanded, the initial tilde character is interpreset as the user's home directory. o Source path names followed by a destination (relative to the directory initialized by icmstart(1)). A source path may be either a file or a directory. If a directory is specified then all files in and below that directory will be installed. When specifying a destination a path may be specified as well. However, the destination path is always interpreted relative to the instal- lation directory specified when calling icmstart(1). If a destination is omitted, the source is installed as specified below icmstart(1)'s destination directory. EXAMPLES
The following entries can be used in an icmstart.rc file: o source `Source' must be in the skeleton directory visited by icmstart(1) and is installed as source in the destination directory specified when calling icmstart(1). o source dest `Source' must be in the skeleton directory visited by icmstart(1) and is installed as dest in the destination directory specified when calling icmstart(1). o ~/path `~/path' is installed as ~/path in the destination directory specified when calling icmstart(1). The ~-character is expanded to the user's home directory. o ~/path dest `~/path' is installed as dest in the destination directory specified when calling icmstart(1). The ~-characteris expanded to the user's home directory. o /path `/path' is installed as ./path in the destination directory specified when calling icmstart(1). o /path dest `/path' is installed as dest in the destination directory o ? source The user must confirm the installation of source. o ? source dest The user must confirm the installation of source as dest in the destination directory specified when calling icmstart(1). o # text Interpreted as comment and ignored. The #-character must be the first character on the line. o an empty line Empty lines are skipped. FILES
The mentioned paths are sugestive only and may be installation dependent: o /usr/share/icmake/icmconf Example of an icmbuild configuration file; o /usr/share/icmake/CLASSES Example of an icmbuild CLASSES file. o /usr/share/icmake/icmstart.rc Default skeleton resource file. SEE ALSO
icmake(1), icmbuild(1), icmconf(7), icmstart(1) BUGS
None reported COPYRIGHT
This is free software, distributed under the terms of the GNU General Public License (GPL). AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl). icmake.7.18.00.tar.gz 1992-2012 icmstart.rc(7)
All times are GMT -4. The time now is 08:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy