After
.. I need to put an import script to import the
which was inputted by the user. I need to
the exact directory where the
exist because the import script needs to see the file.
I'm sorry if i confused you...
Thanks,
cmarzan
---------- Post updated at 07:12 PM ---------- Previous update was at 05:35 PM ----------
Hi Sir rodic,
Thanks for the help. It is now working ok..
Also to you Sir R.Signh
Many Thanks,
cmarzan
---------- Post updated 11-05-14 at 12:01 PM ---------- Previous update was 11-04-14 at 07:12 PM ----------
Hi,
In connection to this thread..
Sir, after executing line 39, it will create a .out file with the same file name as
. After that, Line 40 will be executed. Here is what I don't know next... I wanted to copy all the .out files from the Main directory up to it's sub-folders to the folder created in Line 40 but the tricky here is that the sub-folders must also be copied if it has a .out file inside.
Thanks,
cmarzan
Last edited by cmarzan; 11-05-2014 at 12:06 AM..
Reason: additional question
I'm trying to find the 50 largest file in a directory named /sasdb and its' subdirectories. I'm using the find command and a pipe to awk
Not sure if I'm actually getting the largest files from this directory and its subdirectories. Here is the code I used...
find /sasdb -ls | awk '{print... (8 Replies)
Hi all
I want to find a particular file type lets say .abc under /home/oracle/, the file name is start with 'D' and followed by ddmmyyyy date format, the file name should look like this D19092008.abc To my question, how can i perform the searching from the date 19/09/2008 to 29/09/2008. The... (3 Replies)
Hi,
I wanted to delete all the files under a directory "/apps/tmp/" which are two weeks older. But i should not delete the sub-directories and the contents of sub-directories.
I also have searched in forum and found the following command,
find . \( ! -name . -prune \) -mtime +13 -print
... (8 Replies)
I have a directory (and many sub dirs beneath) on AIX system, containing thousands of file. I'm looking to get a list of all directory containing "*.pdf" file.
I know basic syntax of find command, but it gives me list of all pdf files, which numbers in thousands. All I need to know is, which... (4 Replies)
Hello all,
I am having a hard type in figuring out how to only gather certain files in the current directory without exploring its subdirectories.
I tried:
find . -name "*.ksh" -prune
this also returns ksh files from lower subdirectories.
I also tried
find . -ls -name "*.ksh"
This also... (8 Replies)
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)
Hi All,
I am creating one script to Archive the older log files to Archive folder and deleting older files.
For example below path contains different sub folders. So searching for log files older than 2 days then zip and moving to Archive directory in the same directory.
Source files :-... (4 Replies)
Find all files in the current directory only excluding hidden directories and files.
For the below command, though it's not deleting hidden files.. it is traversing through the hidden directories and listing normal which should be avoided.
`find . \( ! -name ".*" -prune \) -mtime +${n_days}... (7 Replies)