02-13-2008
I tried the command but I am getting following output for all files in the entire dir tree
find: /dir/filename: Value too large to be stored in data type
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Let's get some feedback about the top ten ute's you guys use in writing your scripts - I mean yeah it depends on the job and what you're trying to accomplish, but there ARE those commands (sed, grep, awk, cut, etc.) that most will use time and again...
...so, what do you use? (3 Replies)
Discussion started by: diego
3 Replies
2. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
3. UNIX for Dummies Questions & Answers
What's the maximum file size supported by unix. (3 Replies)
Discussion started by: nagalenoj
3 Replies
4. Shell Programming and Scripting
Hi,
I am new to Unix.
I want to display top 10 folders by size.
I tried with
du -ksl * | sort -nr | head -10
command .But I am getting the following error
-bash: /usr/bin/du: Argument list too long
Can some one help me.
Thanks. (5 Replies)
Discussion started by: Satyak
5 Replies
5. Shell Programming and Scripting
Hello member's
I'm learning to script in the ksh environment on a Solaris Box.
I have 10 files in a directory that I need to pass, as input to a batch job one by one. lets say, the files are named as follows:
abcd.txt ; efgh.bat ; wxyz.temp etc. (random filenames with varied extensions ).... (1 Reply)
Discussion started by: novice82
1 Replies
6. Shell Programming and Scripting
Hi All,
O/S: Linux 86x64 Red Hat
I have a sql script that queries top consuming processes of Linux using TOP commnd.
Now I need to automate this task and pass the top processes i.e., PID to the sql script through unix shell script.
Could anyone please let me know how to achieve this.
... (2 Replies)
Discussion started by: a1_win
2 Replies
7. Shell Programming and Scripting
Hello,
I have a shell script like the one below but cannot get it working:
#!/bin/bash
#$ -cwd
CHR=$2
# directories
ROOT_DIR=./
RESULTS_DIR=${ROOT_DIR}results/
# executable
SHAPEIT_EXEC=${ROOT_DIR}shapeit.v2.r727.linux.x64/shapeit.v2.r727.linux.x64
# parameters
THREAT=5... (1 Reply)
Discussion started by: wmelroy
1 Replies
LEARN ABOUT OSX
applesingle
APPLESINGLE(1) BSD General Commands Manual APPLESINGLE(1)
NAME
applesingle, binhex, macbinary -- encode and decode files
SYNOPSIS
<tool> probe file ...
<tool> [decode] [-c] [-fv] [-C dir] [-o outfile] [file ...]
<tool> -h | -V
applesingle encode [-cfv] [-s suf] [-C dir] [-o outfile] file ...
binhex encode [-R] [-cfv] [-s suf] [-C dir] [-o outfile] file ...
macbinary encode [-t 1-3] [-cfv] [-s suf] [-C dir] [-o outfile] file ...
DESCRIPTION
applesingle, binhex, macbinary are implemented as a single tool with multiple names. All invocations support the three verbs encode, decode,
and probe.
If multiple files are passed to probe, the exit status will be non-zero only if all files contain data in the specified encoding.
OPTIONS
-f, --force
perform the operation even if the output file already exists
-h, --help
display version and usage, then quit
-v, --verbose
be verbose
-V, --version
display version, then quit
-c, --pipe, --from-stdin, --to-stdout
For decode, read encoded data from the standand input. For encode, write encoded data to the standard output. Currently, "plain"
data must be written to and from specified filenames (see also mount_fdesc(8)).
-C, --directory dir
create output files in dir
-o, --rename name
Use name for output, overriding any stored or default name. For encode, the appropriate suffix will be added to name. -o implies
only one file to be encoded or decoded.
-s, --suffix .suf
override the default suffix for the given encoding
-R, --no-runlength-encoding
don't use BinHex runlength compression when encoding
-t, --type 1-3
Specify MacBinary encoding type. Type 1 is undesirable because it has neither a checksum nor a signature and is thus difficult to
recognize.
DIAGNOSTICS
In general, the tool returns a non-zero exit status if it fails.
Darwin 14 November 2005 Darwin