Search Results

Search: Posts Made By: Sax
4,672
Posted By Sax
Ok guys, I have made all the changes suggested...
Ok guys, I have made all the changes suggested and run the script..

I saw the expected output however there was loads of not founds ?

Unfortunately due to time constraint and other work, I have...
4,672
Posted By Sax
Ebable the trace : Execute the find command...
Ebable the trace :

Execute the find command to verify that it returns a list a files
find /user/ -type d -name 'accu*.old'

the find command works...

Enable the trace
set -x
for mNewDir...
4,672
Posted By Sax
I have made that change. what is the best...
I have made that change.

what is the best way to test this script, I have run it with the copy command commented out, but I haven't seen any output to the screen ??
4,672
Posted By Sax
The find command works, but how would I stop it...
The find command works, but how would I stop it going too deep ? some of the directorys have other files and directorys in them that match accu*.
4,672
Posted By Sax
I think I see how it's working now. I changed...
I think I see how it's working now.
I changed the find back, and changed the script to ksh. I also added the line above.
When I run it I don't get any errors, but then I don't get anything else ? I...
4,672
Posted By Sax
Cheers, looks like just what i'm after, however I...
Cheers, looks like just what i'm after, however I am getting a syntax error on line 5 (syntax error at line 5: `mNewPriv=$' unexpected), the only thing I have changed is the find (see below).

I...
4,672
Posted By Sax
Ok, being new to this I have drawn a pic to help...
Ok, being new to this I have drawn a pic to help me explain......

http://img258.imageshack.us/img258/5607/untitled1rv9.jpg

ok hopefully this will help me explain what I'm trying to do.

I did...
4,672
Posted By Sax
Shell Noob
Hi all,

I am trying to write a shell script that will move files from one directory to another, the only thing is I want to to check loads of different source directory and move the files to loads...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 12:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy