10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
This command is correct :
find /home/user_install \( \
\( -type d \( -iname "*firefox*" -o -iname ".cache" -o -iname "libreoffice" \
-o -iname "session" -o -wholename "/home/user_install/dir1/dir2/¬¬ICONS_WALLPAPERS_THEMES" \) \) -prune -o \
\( -type f \( -iname... (1 Reply)
Discussion started by: jcdole
1 Replies
2. Shell Programming and Scripting
Hi there, I'm camor and I'm trying to process huge files with bash scripting and awk.
I've got a dataset folder with 10 files (16 millions of row each one - 600MB), and I've got a sorted file with all keys inside.
For example:
a sample_1 200
a.b sample_2 10
a sample_3 10
a sample_1 10
a... (4 Replies)
Discussion started by: camor
4 Replies
3. Shell Programming and Scripting
Hi All,
I want to search for a certain string in thousands of files and these files are distributed over different directories created daily. For that I created a small script in bash but while running it I am getting the below error:
/ms.sh: xrealloc: subst.c:5173: cannot allocate... (17 Replies)
Discussion started by: danish0909
17 Replies
4. Shell Programming and Scripting
I'm kinda stuck on this one, I have 7 files with 30.000 lines/file like this
050 0.023 0.504336
050 0.024 0.529521
050 0.025 0.538908
050 0.026 0.537035
I want to find the mean line by line of the third column from the files named like this:
Stat-f-1.dat .... Stat-f-7.dat
Stat-s-1.dat... (8 Replies)
Discussion started by: AriasFco
8 Replies
5. Shell Programming and Scripting
I need to find a smarter way to process about 60,000 files in a single directory.
Every night a script runs on each file generating a output on another directory; this used to take 5 hours, but as the data grows it is taking 7 hours.
The files are of different sizes, but there are 16 cores... (10 Replies)
Discussion started by: vhope07
10 Replies
6. Shell Programming and Scripting
Hey all, I need to launch a script from within 2 other scripts that can run independently of the two parent scripts... Im having a hard time doing this, if anyone knows how please let me know.
More detail.
ScriptA (bash), ScriptB (ksh), ScriptC (bash)
ScriptA, launches ScriptB
ScirptB,... (7 Replies)
Discussion started by: trey85stang
7 Replies
7. UNIX for Advanced & Expert Users
There is a procedure I do here at work where I have to synchronize file systems. The source file system always has three or four directories of hundreds of thousands of tiny (1k or smaller) or empty files. Whenever my rsync command reaches these directories, I'm waiting for hours for those files... (3 Replies)
Discussion started by: deckard
3 Replies
8. Shell Programming and Scripting
I know that 'brute-force' scripting could accomplish this with lots of cat/echo/cut/grep and more. But, because my real file has 800k records, and the matching files have 10-20k records, this is not time-possible or efficient.
I have input file:
> cat file_in... (4 Replies)
Discussion started by: joeyg
4 Replies
9. Shell Programming and Scripting
Im transmiting thousands ftp files to a server, when type the command mput *, an error comes and say. args list to long. set to I. So ihave to transmit them in batch or blocks, but its too sloww. what shoul i do?. i need to do a program, or with a simple command i could solve the problem? (3 Replies)
Discussion started by: alexcol
3 Replies
10. Shell Programming and Scripting
Hi All,
I want to find a specific pattern from approximately 400000 files on solaris platform. Its very heavy for me to grep that pattern to each file individually.
Can anybody suggest me some way to search for specific pattern (alpha numeric) from these forty thousand files. Please note that... (6 Replies)
Discussion started by: aarora_98
6 Replies
rmm(1) General Commands Manual rmm(1)
NAME
rmm - remove messages (only available within the message handling system, mh)
SYNOPSIS
rmm [+folder] [msgs] [-help]
OPTIONS
Prints a list of the valid options to this command.
The default settings for this command are:
+folder defaults to the current folder msgs defaults to the current message
DESCRIPTION
The rmm command deletes the current message from the current folder.
You can specify messages and folders other than the current ones by using the +folder and msgs arguments.
The current message is not changed by rmm, so a next will advance to the next message in the folder as expected.
If you have defined a component rmmproc: in your file, then instead of simply renaming the message file, rmm will call the named program to
delete the file.
The rmm command removes messages by renaming the message files with a preceding comma. Many sites consider files that start with a comma to
be a temporary backup, and arrange for cron(8) to remove such files once a day.
PROFILE COMPONENTS
Path: To determine your Mail directory
rmmproc: Program to delete the message
FILES
The user profile.
SEE ALSO
rmf(1)
rmm(1)