f



find files in one directory to use to search through another directory

HI,
I'm a beginner to intermediate user.

Here's what I am trying to do. I have a directory (call it X) with many
sub-directories with many .h files.
I want to use the names of the .h files in directory X to search
through another directory (call it Y) and see where the .h files from X
are included in the .h and .cpp files in Y.

In directory X I used the following command to find all the .h files:
find . -name "*.h"

The above command generates a list of all the .h files, but with the
path name. I don't want the path names, only the name of the file.h

Then I want to do a grep in directory Y and search in every .cpp and .h
file in Y to see if any of the .h files from X are used.

Thanks
Jami

0
2/1/2006 8:36:10 PM
comp.unix.shell 15484 articles. 3 followers. Post Follow

5 Replies
729 Views

Similar Articles

[PageSpeed] 47

jamihuq wrote:
> HI,
> I'm a beginner to intermediate user.
>
> Here's what I am trying to do. I have a directory (call it X) with many
> sub-directories with many .h files.
> I want to use the names of the .h files in directory X to search
> through another directory (call it Y) and see where the .h files from X
> are included in the .h and .cpp files in Y.
>
> In directory X I used the following command to find all the .h files:
> find . -name "*.h"
>
> The above command generates a list of all the .h files, but with the
> path name. I don't want the path names, only the name of the file.h
>
> Then I want to do a grep in directory Y and search in every .cpp and .h
> file in Y to see if any of the .h files from X are used.
>
> Thanks
> Jami

find . -name *.h | xargs -n1 basename | xargs grep
/full/path/to/Y/*.cpp
Won't work if cpp files are nested in subdirectories.
Also check out cscope, a very useful utility.
Sashi

0
Sashi
2/1/2006 9:26:04 PM
jamihuq wrote:
> HI,
> I'm a beginner to intermediate user.
>
> Here's what I am trying to do. I have a directory (call it X) with many
> sub-directories with many .h files.
> I want to use the names of the .h files in directory X to search
> through another directory (call it Y) and see where the .h files from X
> are included in the .h and .cpp files in Y.
>
> In directory X I used the following command to find all the .h files:
> find . -name "*.h"
>
> The above command generates a list of all the .h files, but with the
> path name. I don't want the path names, only the name of the file.h
>
> Then I want to do a grep in directory Y and search in every .cpp and .h
> file in Y to see if any of the .h files from X are used.
if you know there are not duplicated files within each directory and
its subdirectory, then you can use GNU find like:

find /dirA /dirB \( -name "*.h" -o -name "*.cpp" \) -printf "%f\n" |
sort | uniq -d

Xicheng
 
> Thanks
> Jami

0
Xicheng
2/1/2006 9:37:14 PM
xicheng wrote:
> jamihuq wrote:
> > HI,
> > I'm a beginner to intermediate user.
> >
> > Here's what I am trying to do. I have a directory (call it X) with many
> > sub-directories with many .h files.
> > I want to use the names of the .h files in directory X to search
> > through another directory (call it Y) and see where the .h files from X
> > are included in the .h and .cpp files in Y.
> >
> > In directory X I used the following command to find all the .h files:
> > find . -name "*.h"
> >
> > The above command generates a list of all the .h files, but with the
> > path name. I don't want the path names, only the name of the file.h
> >
> > Then I want to do a grep in directory Y and search in every .cpp and .h
> > file in Y to see if any of the .h files from X are used.
> if you know there are not duplicated files within each directory and
> its subdirectory, then you can use GNU find like:
>
> find /dirA /dirB \( -name "*.h" -o -name "*.cpp" \) -printf "%f\n" |
> sort | uniq -d

oops, I just found it's another problem.... :(

 Xicheng
> Xicheng
>  
> > Thanks
> > Jami

0
Xicheng
2/1/2006 9:46:47 PM
jamihuq wrote:
> HI,
> I'm a beginner to intermediate user.
>
> Here's what I am trying to do. I have a directory (call it X) with many
> sub-directories with many .h files.
> I want to use the names of the .h files in directory X to search
> through another directory (call it Y) and see where the .h files from X
> are included in the .h and .cpp files in Y.
>
> In directory X I used the following command to find all the .h files:
> find . -name "*.h"
>
> The above command generates a list of all the .h files, but with the
> path name. I don't want the path names, only the name of the file.h
>
> Then I want to do a grep in directory Y and search in every .cpp and .h
> file in Y to see if any of the .h files from X are used.

try this one:

find /dir_X -name "*.h" -printf "%f\n" | while read f; do grep -l "$f"
`find /dir_Y \( -name "*.h" -o -name "*.cpp" \)`; done

Xicheng
 
> Thanks
> Jami

0
Xicheng
2/2/2006 12:37:01 AM
Thanks Sashi. Your method worked.

Jami

0
jamihuq
2/2/2006 5:21:34 PM
Reply:

Similar Artilces:

Script to move files with one occurence of a string to one directory, and other files to another directory?
I could use a script for the bash shell to look through a group of files (s= elected from one directory by a wildcard expression) and move any of those = files with exactly one occurrence of the string Path: to a different direct= ory, usually a subdirectory of the first directory. The rest of the files = selected by the wildcard expression are move to a third directory, also usu= ally a subdirectory of the first directory. I'm currently doing this manua= lly, but with grep commands to count the number of occurrences. NOT homework - I'm retired. Actually using Cygwin (an em...

Getting all directories/files from current directory and using -d flag for the directories
Hi guys/gals, I'm pretty new to Perl, so please keep that in mind. :) It looks like File::Find goes through all the subdirectories of the current directory, which isn't what I want. I just want all the contents of the current directory. On doing some research, many people have recommended doing something like the following: ----------- $home_dir = ''; #changed to protect the innocent :) opendir(DIR,$home_dir) or die "Can't open the current directory: $home_dir $!\n"; # read file/directory names in that directory into @names @names = readdir(DIR) or die "...

Searching Windows Directories Using Unix Shell Script
Hi, I want to get inputs from you all, if below task can be done through batch scripting or VB scripting. I have a unix script currently running on Sun Solaris (SunOS 5.10 Generic_142900-15 sun4u sparc SUNW,Sun-Fire-V440). This script takes directory name as input and searches for some patterns (both Regular expression based and strings) in all files and directories under the passed directory location. My questions are =96 1) Can I use this unix script to search the patterns on windows? Basically I want to pass windows directory location and get the output. 2) If yes, how to go about it? Appreciate your inputs. On Oct 20, 5:06=A0pm, Raj <rajpreetsi...@gmail.com> wrote: > Hi, > > I want to get inputs from you all, if below task can be done through > batch scripting or VB scripting. > > I have a unix script currently running on Sun Solaris (SunOS 5.10 > Generic_142900-15 sun4u sparc SUNW,Sun-Fire-V440). This script takes > directory name as input and searches for some patterns (both Regular > expression based and strings) in all files and directories under the > passed directory location. > My questions are =96 > 1) =A0 =A0 =A0Can I use this unix script to search the patterns on window= s? > Basically I want to pass windows directory location and get the > output. > 2) =A0 =A0 =A0If yes, how to go about it? > > Appreciate your inputs. There might be several ways you can do it. Some commonly used tool...

files, directories, files, directories
Hi folks, I've been trying to make a decision and it's driving me crazy. Is a directory a file or is a directory NOT a file but a node? Should I have A) public interface IFile { IFileName FileName; IContent GetContent(); } public interface IDirectory extends IFile { } or B) public interface INode { INodeName NodeName; } public interface IFile extends INode { IContent GetContent(); } public interface IDirectory extends INode { } Method A is nice cause IFile becomes the base "Node" type and you can use names like "IFileName" which sounds nice compared to "INodeName" and fits with the "FileSystem" moniker. A has the disadvantage that IDirectory has a GetContent() method which isn't bad but can be considered a bit weird. It probably wouldn't be too hard to make users think of everything as a file. Method B is nice cause IDirectory doesn't have GetContent() -- that honour belongs only to IFile. B is at a disadvantage when it comes to naming: everything becomes a "Node". INodeName sounds rude compared to IFileName. This method feels more "pure" cause you're specialising features completely. Do you reckon I can get away with Method A? It doesn't seem as pure unless you spend a long time convincing yourself that (for all intents and purposes) a file *is* a node (it's just got a different name) and a directory *is* a file. A penny for anyone's thought...

Using File::Find and only manipulating 1 file per directory.
I am rather new to Perl and I'm looking for a little direction. How can I use File::Find to step recursively through a directory tree and then only manipulate *one* file per directory it encounters. What I am trying to do specifically is copy the first image file in each directory up to the next highest directory ("../"). Then I'd like to rename it with the directory name it came from (in other words, copy it from "/images/image1.jpg" to "/images.jpg") I am able to copy *all* images to the next highest directory using the following code: #!/usr/bin/pe...

Re: Finding directory file of current directory
From: "R Boyd" <bob@hax.com> > Here's a command procedure I wrote years ago to handle the issue: [...] > See if that solves your problem. It probably will unless it encounters a contrary ODS5 extended file name: ALP $ show default LDA1:[o5_test.TEST2.a^[b^]c] ALP $ @ [--]uponedir.com PREV_DIR_LEV = "LDA1:[o5_test.TEST2]" CUR_DIR_SPEC = "LDA1:[o5_test.TEST2]a^[b^c].DIR" ALP $ dir [-]a*.dir Directory LDA1:[o5_test.TEST2] a^[b^]c.DIR;1 Total of 1 file. Everything's complicated. (And getting more so all the time.) From: JONE...

how to search for a directory and change path to that directory in shell?
Hi, how to search for a directory and change path to that directory in shell to be used in C program. ambika _.-In comp.unix.shell, ambs.tech@gmail.com wrote the following -._ > Hi, > > how to search for a directory and change path to that directory in > shell to be used in C program. Lets start at the beggining. First) why on earth would you want to use a shell script in a C program when you could use just a shell script or just a C program? Second) why does this sound lika a homework project that you are trying to get us to do? Third) What are searching for? We know it is...

Using File::Find to delete files and directories older than 30 days
I am a Perl beginner and I hve writen this script to remove files older than 30 days, it works well EXCEPT that it leave the empty directories behind, can anyone help me look for empty directories and remove them as well? TIA, Steve #! Perl -w use Strict; use File::Find; $tempdir = "D:\\shared dirs\\temp Public"; find(\&Wanted, $tempdir); sub Wanted { #Do not scan Purchasing or Budget return $File::Find::prune = 1 if $_ eq "Purchasing - Do Not Remove"; return $File::Find::prune = 1 if $_ eq "BUDGET"; # only on files older than 30 days if ( ( -M $_ ) > 30 ) { @args = ("del", "/F", "/Q", "$_"); system @args; } } SteveO <stevehobrien@hotmail.com> wrote: > I am a Perl beginner Have you seen the Posting Guidelines that are posted here frequently? > to remove files older > than 30 days, it works well EXCEPT that it leave the empty directories > behind, > #! Perl -w > use Strict; > use File::Find; > $tempdir = "D:\\shared dirs\\temp Public"; That should fail to compile under strictures, you did not declare $tempdir. use strict; Case matters. use warnings; is better than the -w switch If you use single quotes, then you won't have backslash the backslashes: my $tempdir = 'D:\shared dirs\temp Public'; Or, better yet, use sensible slashes instead of silly slashes: my $tempdir = 'D:/shared dirs/temp Public'; &g...

Traversing Directories and Sub Directories and find tcl files
Hi all, I am looking for sample code to find the tcl files in directories and subdirectories. I tried to use -glob option of tcl to find all the directories and sub directories which contain tcl files. Can anyone help me in this regard? I want to know also is there a way that I can transfer the information printed in command console to a output file? On Nov 21, 4:58=A0pm, Pradeep <bubunia2000s...@gmail.com> wrote: > Hi all, > =A0 =A0 I am looking for sample code to find the tcl files in directories > and subdirectories. I tried to use -glob option of tcl to find all the > directories and sub directories which contain tcl files. Can anyone > help me in this regard? I want to know also is there a way that I can > transfer the information printed in command console to a output file? something like below should work: proc list_files {start} { foreach file [glob -nocomplain [file join $start *]] { if {[file extension $file] eq ".tcl"} { puts $file } if [file isdirectory $file] { list_files $file } } } list_files {/path/to/directory} about redirect script output to file read this http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/22331539a= 0d8e920/ I hope this help you At 2008-11-21 05:58AM, "Pradeep" wrote: > Hi all, > I am looking for sample code to find the tcl files in directories > and subdirectories. I tried to use -glob option of tcl to find all the > directories...

RE: Finding directory file of current directory #2
This is a multi-part message in MIME format. ------_=_NextPart_001_01C5B9D8.49CE1444 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable [snips] -----Original Message----- From: Dave Froble [mailto:davef@tsoft-inc.com] Sent: Thu 9/15/2005 1:42 PM To: Info-VAX@Mvb.Saic.Com Subject: Re: Finding directory file of current directory =20 Ok, my DCL is a bit rusty, and I have no ODS-5 experience, never yet=20 found a reason to use ODS-5, but the following is a short proof of concept: ***** This is OT to JF's original question, but I have neve...

Find files in current directory excluding sub-directories
I use following two methods to find files in a directory but not its sub-directories on HP-UX B.11.11. $ find /home/jhl -type f ! -path './*/*' -name "*.c" $ find /home/jhl -type f -prune -name "*.c" But both present me with files in sub-directories. Can you teach me how to find files in current directory only? Thank you. lovecreatesbea...@gmail.com wrote: > I use following two methods to find files in a directory but not its > sub-directories on HP-UX B.11.11. > > $ find /home/jhl -type f ! -path './*/*' -name "*.c" > $ find /home/jhl -type f -prune -name "*.c" > > But both present me with files in sub-directories. > > Can you teach me how to find files in current directory only? Thank you. Hi, Try the following: $ find /home/jhl -path "/home/jhl/*" -prune -name "*.c" Jon Jon Fife wrote: > lovecreatesbea...@gmail.com wrote: > > I use following two methods to find files in a directory but not its > > sub-directories on HP-UX B.11.11. > > > > $ find /home/jhl -type f ! -path './*/*' -name "*.c" > > $ find /home/jhl -type f -prune -name "*.c" > > > > But both present me with files in sub-directories. > > > > Can you teach me how to find files in current directory only? Thank you. > > Try the following: > $ find /home/jhl -path "/home/jhl/*"...

Copy files and folders from one directory into another
I have files in myurl.com/myfolder and I would like to copy all of them into myurl.com/newfolder I'd like to copy all of the subdirectories and files that are in /myfolder and I would like to be able to use a form of some sort to name the file I want to copy, and create the folder I'd like to copy it to, such as newfolder. How can I use a form to create a new folder on the server? How can I use a form to name the old folder I want to copy everything from, then create the name of the new folder I want to copy everything into, and then copy? If anyone can help, I'd be VERY appricative. Thank you. In article <7383558c.0405211340.231be283@posting.google.com>, Frank wrote: > I have files in myurl.com/myfolder > > and I would like to copy all of them into > > myurl.com/newfolder Now, why don't you just rename myfolder to newfolder? in php something like system('mv myfolder newfolder'); and probably there are some native php functions too... -- Tim Van Wassenhove <http://home.mysth.be/~timvw/contact.php> ...

Finding all the links in a Unix file/directory path
Hi, I am working on a Perl script that copies files from a log file. Some of the files are links. The link however is in an intermediate directory. For example, in a path /tmp/test_hier/b/f/of3.cpp, the actual path is /tmp/test_hier/b/c/of3.cpp. I have attached a DirGen.pm that creates the sample directory hierarchy and a DirGen.t that prints out the information that the file is a link. My Questions: 1) Does anyone know how I can recursively trace the links so that I copy the "exact" hierarchy? For example, I want to copy *everything* in /tmp/test_hier underneath /tmp/copy/tmp/t...

Copy from one directory to another using PHP
I am a novice at php and need to know how to move files from one driectory to another on our website. I know this is an easy script but I have no idea on how to do this. Thanks!! <pdemarais@gmail.com> wrote in message news:1140622812.678051.208250@g14g2000cwa.googlegroups.com... >I am a novice at php and need to know how to move files from one > driectory to another on our website. I know this is an easy script but > I have no idea on how to do this. > > Thanks!! > Hint: rename() www.php.net :) ...

Copy modified files from one directory to another.
Hi, Two directories with same content exist on the unix box. Some of the content of one directory keeps on changing over time. I have to write a shell script to update the other directory with the changes. Problem is to copy only the changed/modified files to the other directory (maintaining the directory structure). How can this be achieved using simple shell script? Thanks, On 7 Feb 2007 15:16:16 -0800, mizwam <mail.manasi.sharma@gmail.com> wrote: > > > Hi, > > Two directories with same content exist on the unix box. Some of the > content of one directory keeps on changing over time. I have to write > a shell script to update the other directory with the changes. Problem > is to copy only the changed/modified files to the other directory > (maintaining the directory structure). How can this be achieved using > simple shell script? > rsync -- Nothing is so often irretrievably missed as a daily opportunity. -- Ebner-Eschenbach On Feb 7, 6:32 pm, Bill Marcum <marcumb...@bellsouth.net> wrote: > On 7 Feb 2007 15:16:16 -0800, mizwam <mail.manasi.sha...@gmail.com> wrote: > > > Hi, > > > Two directories with same content exist on the unix box. Some of the > > content ofonedirectorykeeps on changing over time. I have to write > > a shell script to update the otherdirectorywith the changes. Problem > > is tocopyonly the changed/modifiedfilesto the otherdirectory > > (maintain...

how to use "sed" to replace old directory to new directory in a file
All please guid me.... i want to know how to replace the old directory to new directory in a file.. example: let us consider the below line open (LOG,">>/user/xxxx/yyyy/zzzz/aaaa/bbbb/.cccc") || die; to open (LOG,">>/wwww/qqqqq/pppp/rrrrr/ssss/tttt/.lllll") || die; like this i want to replace many lines in which each line has different directories to new different directory i tried with oldpath=/user/xxxx/yyyy/zzzz/aaaa/bbbb/.cccc newpath=/wwww/qqqqq/pppp/rrrrr/ssss/tttt/.lllll cat -n filename | grep 61 | sed "s/$oldpath/$newpath/" filename am ...

how to use "sed" to replace old directory to new directory in a file
All please guid me.... i want to know how to replace the old directory to new directory in a file.. example: let us consider the below line open (LOG,">>/user/xxxx/yyyy/zzzz/aaaa/bbbb/.cccc") || die; to open (LOG,">>/wwww/qqqqq/pppp/rrrrr/ssss/tttt/.lllll") || die; like this i want to replace many lines in which each line has different directories to new different directory i tried with oldpath=/user/xxxx/yyyy/zzzz/aaaa/bbbb/.cccc newpath=/wwww/qqqqq/pppp/rrrrr/ssss/tttt/.lllll cat -n filename | grep 61 | sed "s/$oldpath/$newpath/" filename am getting error (where 61 is the line no. where i have to do changes...) help me pls... waiting for reply thanx n advance sk If you are sure that the line is at no 61. sed '61s/\/user\/xxxx\/yyyy\/zzzz\/aaaa\/bbbb\/\.cccc/\/wwww\/qqqqq\/pppp\/rrrrr\/ssss\/tttt\/\.lllll/g' inputfile This should work ..though it looks dirty. Devaraj sk wrote: > All > please guid me.... > i want to know how to replace the old directory to new directory in a > file.. > > example: let us consider the below line > open (LOG,">>/user/xxxx/yyyy/zzzz/aaaa/bbbb/.cccc") || die; > > to > open (LOG,">>/wwww/qqqqq/pppp/rrrrr/ssss/tttt/.lllll") || die; > > > like this i want to replace many lines in which each line has different > directories to new different directory > > > i tried with > oldpath=/user/xxxx/yyyy/zzzz/aaaa/...

how to use "sed" to replace old directory to new directory in a file
All please guid me.... i want to know how to replace the old directory to new directory in a file.. example: let us consider the below line open (LOG,">>/user/xxxx/yyyy/zzzz/aaaa/bbbb/.cccc") || die; to open (LOG,">>/wwww/qqqqq/pppp/rrrrr/ssss/tttt/.lllll") || die; like this i want to replace many lines in which each line has different directories to new different directory i tried with oldpath=/user/xxxx/yyyy/zzzz/aaaa/bbbb/.cccc newpath=/wwww/qqqqq/pppp/rrrrr/ssss/tttt/.lllll cat -n filename | grep 61 | sed "s/$oldpath/$newpath/" filename am ...

Copy a file from one directory to another from a SAS program?
Is there a way from SAS to copy a file from one directory to another? = I am exporting 200+ sheets from an Excel 2007 workbook and there is one = sheet that I do not want to process like the others, so I'd like to move = it in my SAS program to another folder. -Mary ...

use of ssh command and to find an entry is a file or directory
Hi In this script i have to check whether the dest_dir is a file or directory. I used -d and -f command to check wether it is a directory or file. I am getting an error message E03020134: wc: cannot open famis@falcon.as.ksu.edu:/usr/local/lic/ famis/famd/FMMSource /usr/local/lic/harvest5/SCRIPTS/deploy2_5.1.1.ksh[59]: famis@falcon.as.ksu.edu:/usr/local/lic/famis/famd/FMMSource: cannot open Pseudo-terminal will not be allocated because stdin is not a terminal. I00020133: Warning: no access to tty (Bad file number). Thus no job control in this shell. I00020133: Sun Microsystems Inc. SunOS 5.8 Generic February 2000 E03020134: if: Expression Syntax. I00020133: [1] 14416 [1] + Exit 1 dir= ============================================================================================================================ E03020134: dir=: Command not found. /usr/openwin/bin/.: Permission denied. done: Command not found. fi: Command not found. else: endif not found. The entry is located on a remote computer. You dont have to login to access the remote computer. We can directly access the remote computer. To access the other computer i use security code which is encryoted in a file so u dont have to login u can directly get in to that system example to copy the file scp "${HARVEST_WORKDIR}/${item}" "${dest_dir}" exit_status=$? remote_login=${dest_dir%%@*} remote_machine=${dest_dir%%:*} remote_machine=${remote_machine#${remot...

How to find regexp in a directory / Use grep on multiple files??
Hi, I wonder how I can use grep to find a regexp in more than one file: I would like to look through all files in let's say a web depository (containing subdirectories) and turn out the ones containing the regexp i'm looking for. So if someone could turn up with some magic command doing: $ magiccommand "regexp_im_looking_for" ./in_this_directory and would give a result similar to file_name line_number file_name_2 line_number_2 that would really be great. Thanks for any help Matthias hultsfret wrote: > Hi, > I wonder how I can use grep to find a regexp in mor...

process files one by one in the directory
Hello, I have 4 files named ab12.txt, cd45.txt, ug3h.txt, kf8l.txt in a directory. I have a function like [X,Y] = myfunction (filename, collection). Collection = 2 always. But the filenames changes. I have to use this function using above filenames one by one. How can I just create the variable (filename = 'ab12'), run the function. again create the variable (filename = 'cd45') and run the function and so on until the last 4th file. cheers, Yogesh "yogesh kumkar" <yogeshkumkar@mathworks.com> wrote in message news:j0ju0t$f1s$1@newscl01ah.mathworks....

Re: Copy a file from one directory to another from a SAS program?
If you know the file names, you can do the 'X' command at some point to execute a system command to move the file: X "move /path/to/original /path/to/dest"; If you are on Windows (probably, since you are using .xls). Otherwise, whatever command is native to your OS for moving files should work within your 'X' command. Matt -----Original Message----- From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Mary Sent: Thursday, July 31, 2008 2:05 PM To: SAS-L@LISTSERV.UGA.EDU Subject: Copy a file from one directory to another from a SAS program? Is there a way from SAS to copy a file from one directory to another? I am exporting 200+ sheets from an Excel 2007 workbook and there is one sheet that I do not want to process like the others, so I'd like to move it in my SAS program to another folder. -Mary ...

Re: Copy a file from one directory to another from a SAS program? #3
Check out the system options XWAIT|NOXWAIT and XSYNC and NOXSYNC from the online document. I think options noxwait might do it for you. HTH, -TJ On Thu, 31 Jul 2008 15:12:12 -0500, Mary <mlhoward@AVALON.NET> wrote: >Yes, that does work >X "move c:\dir1\test.txt c:\dir2\test.txt" > >It is however, leaving open the DOS command window. I tried: >X "exit"; >and that did not work to close it. Would anyone know how to close it? > >-Mary > ----- Original Message ----- > From: matt.pettis@thomsonreuters.com > To: mlhoward@avalon.net ; SAS-L@LISTSERV.UGA.EDU > Sent: Thursday, July 31, 2008 2:58 PM > Subject: RE: Copy a file from one directory to another from a SAS program? > > > If you know the file names, you can do the 'X' command at some point to > execute a system command to move the file: > > X "move /path/to/original /path/to/dest"; > > If you are on Windows (probably, since you are using .xls). Otherwise, > whatever command is native to your OS for moving files should work > within your 'X' command. > > Matt > > -----Original Message----- > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of > Mary > Sent: Thursday, July 31, 2008 2:05 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Copy a file from one directory to another from a SAS program? > > Is there a way from SAS to copy a file f...

Web resources about - find files in one directory to use to search through another directory - comp.unix.shell

Wikipedia:Quick directory - Wikipedia, the free encyclopedia
This page is a handy directory to various locations of interest in Wikipedia. Only dynamic pages should be listed here, no policy pages etc. ...

Telephone directory - Wikipedia, the free encyclopedia
"Phone book" and "White pages" redirect here. For a contact list, see Contact list . For other uses, see White pages (disambiguation) . Subscriber ...

Don't call us: Centrelink bosses remove phone numbers and email from directory
Tom was savvy enough to take his complaints straight to Centrelink management.

Don't call us: Centrelink bosses remove phone numbers and email from directory
Tom was savvy enough to take his complaints straight to Centrelink management.

Don't call us: Centrelink bosses remove phone numbers and email from directory
Tom was savvy enough to take his complaints straight to Centrelink management.

Business Directory Listings: Eight Smart Tips for You to Get Started
If you are considering a business directory listing for your small business, congratulations – you are on the right track. Local SEO, local customers, ...

Atlas Partner Directory Launched
... just for Facebook and Instagram –advertising platform Atlas has one, as well. On that note, Atlas Tuesday introduced the Atlas Partner Directory ...

Slack announces App Directory store
... create more apps for the store, and a new framework called Botkit which should simplify the process of creating apps. The Slack App Directory, ...

Amazon brings Microsoft users into AWS with Active Directory service
Amazon has launched an AWS Directory Service for Active Directory , a fully managed implementation of Microsoft's authentication and user management ...

Hackers leak DHS staff directory, claim DOJ is next
On Sunday, an account on Twitter posted a Department of Homeland Security staff directory with 9,355 names. Shortly after the DHS data was posted, ...

Resources last updated: 3/29/2016 2:09:45 AM