12-24-2011
Quote:
Originally Posted by
jim mcnamara
Will this work on an AVI? I have a video file I am trying to split.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have a big verilog file with multiple modules. Each module begin with the code word 'module <module-name>(ports,...)'
and end with the
'endmodule' keyword.
Could you please suggest the best way to split each of these modules into multiple files?
Thank you for the help.
Example of... (7 Replies)
Discussion started by: return_user
7 Replies
2. Shell Programming and Scripting
hi Guys
i need some help here..
i have a file which has > 800,000 lines in it. I need to split this file into smaller files with 25000 lines each.
please help
thanks (1 Reply)
Discussion started by: sitaldip
1 Replies
3. Shell Programming and Scripting
Hi,
I have a big text file with m columns and n rows. The format is like:
STF123450001000200030004STF123450005000600070008STF123450009001000110012
STF234560345002208330154STF234590705620600070080STF234567804094562357688
STF356780001000200030004STF356780005000600070080STF356780800094562657687... (2 Replies)
Discussion started by: wintersnow2011
2 Replies
4. Shell Programming and Scripting
KSH
HP-SOL-Lin
Cannot use xAWK
I have several strings that are quite long and i want to break them down into smaller substrings.
What I have
String = "word1 word2 word3 word4 .....wordx"
What I want
String1="word1 word2"
String2="word 3 word4"
String3="word4 word5"
Stringx="wordx... (5 Replies)
Discussion started by: nitrobass24
5 Replies
5. Shell Programming and Scripting
Help needed urgently please.
I have a large file - a few hundred thousand lines.
Sample
CP START ACCOUNT
1234556
name 1
CP END ACCOUNT
CP START ACCOUNT
2224444
name 1
CP END ACCOUNT
CP START ACCOUNT
333344444
name 1
CP END ACCOUNT
I need to split this file each time "CP START... (7 Replies)
Discussion started by: frustrated1
7 Replies
6. UNIX for Dummies Questions & Answers
hi ,
I have a requirement
input file:
1 1111111111111 108
1 1111111111111 109
1 1111111111111 109
1 1111111111111 110
1 1111111111111 111
1 1111111111111 111
1 1111111111111 111
1 1111111111111 112
1 1111111111111 112
1 1111111111111 112
The output should be, (19 Replies)
Discussion started by: mechvijays
19 Replies
7. UNIX for Dummies Questions & Answers
input file:
AD,00,--,---,---,---,---,---,---,--,--,---
AM,000,---,---,---,---,---,---
AR, ,---,--,---,---
AA,---,---,---,---
AT,---
AU,---,---,---
AS,---,---
AP,---,---,---
AI,---
AD,00,---,---,---, ,---,---,---,---,---,---
AM,000,---,---,---
AR,... (6 Replies)
Discussion started by: kcdg859
6 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have one large files of 100000 rows with header column.
Eg:
Emp Code, Emp Name
101,xxx
102,YYY
103,zzz
...
...
I want to split the files into smaller files with only 30000 rows each..File 1,2 and 3 must have 30000 rows and file 4 must contain 10000 rows.
But the column... (1 Reply)
Discussion started by: Nivas
1 Replies
9. UNIX for Beginners Questions & Answers
Dears,
Need you help with the below file manipulation. I want to split the file into 8 smaller files but without cutting/disturbing the entries (meaning every small file should start with a entry and end with an empty line). It will be helpful if you can provide a one liner command for this... (12 Replies)
Discussion started by: Kamesh G
12 Replies
LEARN ABOUT OSX
cvaffinity
cvaffinity(1) cvaffinity(1)
NAME
cvaffinity - Set an affinity type
SYNOPSIS
cvaffinity -s <key> filename
cvaffinity -l filename
cvaffinity -d filename
DESCRIPTION
cvaffinity can be used to set an affinity for a specific storage pool
on a file or directory, or list the current affinity. An affinity is
created in a storage pool through the volume configuration (see
cvfs_config(4).) It is a name, up to eight (8) characters, describing a
special media type. Use cvadmin (1) to see what affinity sets are
assigned to the configured storage pools.
If the affinity does not exist for any of the storage pools, then the
allocation will occur on the non-exclusive storage pool. If there is
no non-exclusive storage pool, an ENOSPC is returned.
USAGE
-s <key> is the Affinity Key to associate with the file or direc-
tory and is defined as a 'MediaType' name in the file system
configuration. Use the program 'cvadmin' to see the Affinity
Keys active in this file system. For files with an Affinity,
new blocks allocated to that file are placed on a storage pool
with the specified Affinity. For directories with an Affinity
new files created in that directory inherit the Affinity from
the directory.
-l This option says to just list the affinity for the specified
file and exit.
-d This option says to delete the affinity from the specified file
or directory, if one exists.
<filename>
Specifies any file or directory on the targeted volume. When
the -k option (set session affinity) is specified, or no other
option is specified, the filename option is used as a read-only
reference handle in order to access the volume. When the -s,
-d, or -l options are used, the filename option specifies the
file or directory operated on.
EXAMPLES
List the affinity on the file /usr/clips/foo.
rock # cvaffinity -l /usr/clips/foo
Set this file or directory to use the storage pool that has the jmfn8
affinity type.
rock # cvaffinity -s jmfn8 /usr/clips/filename
Remove the affinity from the /usr/clips/mydir, if one is currently
assigned.
rock # cvaffinity -d /usr/clips/mydir
SEE ALSO
cvfs_config(4), cvadmin(1)
Xsan File System December 2005 cvaffinity(1)