04-05-2008
Those are the tools I would use. Perhaps you could instead rearrange the directory structure so that all new files are in a "recent" directory tree, and then move them to the "main" directory tree when you no longer want to treat them as "recent"?
Which file system are you using? NTFS in particular is a real dog when it comes to coping with large directories. You might want to investigate whether it might make sense to switch to Reiser or XFS or something.
(I just happen to have a vague idea of what a
lakh is, but you'd probably better avoid regional lingo like that in an international forum.)
Last edited by era; 04-05-2008 at 03:41 PM..
Reason: Wikipedia link for "lakh"
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Does anyone know what's new with Efficient dispatching in the Solaris 2.8 release (vs Solaris 2.6) release?
Specifically, does anyone know of a good website to get detailed information on thread dispatching using efficient dispatching in solaris 2.8?
Thank you. (1 Reply)
Discussion started by: uchachra
1 Replies
2. Shell Programming and Scripting
I'm using korn shell to connect to oracle, retrieve certain values, put them in a list, and iterate through them. While this method works, I can't help but think there is an easier method.
If you know of one, please suggest a shorter, more efficient method.
############### FUNCTIONS ... (6 Replies)
Discussion started by: SelectSplat
6 Replies
3. Shell Programming and Scripting
Hi,
i have 2 files each with 200K lines. Each line contains a number. Now, i need to get the list of numbers existing in one fine and NOT in other file. I'm doing this by reading each number from 1 file and grepping on other file. But this taking LOT of time. Is there any efficient way of doing... (14 Replies)
Discussion started by: prvnrk
14 Replies
4. UNIX for Advanced & Expert Users
some of the data i receive has been typed in manually due to which there are often places where i find 8 instead of ( and the incorrect use of case
what according to you is the best way to correct such data.
The data has around 20,000 records.
The value i want to change is in the 4th field.... (2 Replies)
Discussion started by: VGR
2 Replies
5. UNIX for Dummies Questions & Answers
I want to match the red portion:
9784323456787-Unknown Phrase with punctuation "Some other PhrASE."
Is this the best regex to match this?
'978\{10\}-*' (4 Replies)
Discussion started by: glev2005
4 Replies
6. Shell Programming and Scripting
How to reverse search for a matched string in a file. Get line# of the first matched line. I am getting '2' into 'lineNum' variable.
But it feels like I am using too many commands. Is there a better more efficiant way to do this on Unix?
abc.log
aaaaaaaaaaaaa
bbbbbbbbbbbbb... (11 Replies)
Discussion started by: kchinnam
11 Replies
7. Shell Programming and Scripting
Hello guys
My requirement is to read a file with parent-child relationship
we need to iterate through each row to find its latest child.
for eg. parent child
ABC PQR
PQR DEF
DEF XYZ
Expected Output
ABC XYZ
PQR XYZ
DEF XYZ
Script Logic :
read parent from file
seach child... (4 Replies)
Discussion started by: joshiamit
4 Replies
8. Shell Programming and Scripting
Hi,
I have an XML file with around 1 billion rows in it and i am trying to find the number of times a particular tag occurs in it. The solution i am using works but takes a lot of time (~1 hr) .Please help me with an efficient way to do this.
Lets say the input file is
<Root>
... (13 Replies)
Discussion started by: Sheel
13 Replies
9. Shell Programming and Scripting
Hi Bigshots,
I have a pattern file with two columns. I have another data file. If column 1 in the pattern file appears as the 4th column in the data file, I need to replace it (4th column of data file) with column 2 of the pattern file. If the pattern is found in any other column, it should not... (6 Replies)
Discussion started by: ss112233
6 Replies
10. Shell Programming and Scripting
I have one array SPLNO with approx 10k numbers.Now i want to search the subscriber number from MDN.TXT file (containing approx 1.5 lac record)from the array.if subscriber number found in array it will perform below operation.my issue is that it's taking more time because for one number it's search... (6 Replies)
Discussion started by: siramitsharma
6 Replies
LEARN ABOUT LINUX
ntfsprogs
NTFSPROGS(8) System Manager's Manual NTFSPROGS(8)
NAME
ntfsprogs - tools for doing neat things with NTFS
OVERVIEW
ntfsprogs is a suite of NTFS utilities based around a shared library. The tools are available for free and come with full source code.
TOOLS
mkntfs(8) - Create an NTFS filesystem.
ntfscat(8) - Dump a file's content to the standard output.
ntfsclone(8) - Efficiently clone, backup, restore or rescue NTFS.
ntfscluster(8) - Locate the files which use the given sectors or clusters.
ntfscmp(8) - Compare two NTFS filesystems and tell the differences.
ntfscp(8) - Copy a file to an NTFS volume.
ntfsfix(8) - Check and fix some common errors, clear the LogFile and make Windows perform a thorough check next time it boots.
ntfsinfo(8) - Show information about NTFS or one of the files or directories within it.
ntfslabel(8) - Show, or set, an NTFS filesystem's volume label.
ntfsls(8) - List information about files in a directory residing on an NTFS.
ntfsresize(8) - Resize NTFS without losing data.
ntfsundelete(8) - Recover deleted files from NTFS.
AUTHORS
The tools were written by Anton Altaparmakov, Carmelo Kintana, Cristian Klein, Erik Sornes, Giang Nguyen, Holger Ohmacht, Lode Leroy,
Matthew J. Fanto, Per Olofsson, Richard Russon, Szabolcs Szakacsits, Yura Pakhuchiy and Yuval Fledel.
AVAILABILITY
The ntfsprogs are part of the ntfs-3g package which can be downloaded from:
http://www.tuxera.com/community/
SEE ALSO
ntfs-3g(8)
ntfs-3g 2011.4.12AR.4 September 2007 NTFSPROGS(8)