09-23-2007
Does not work: the resulting outputfile has indeed the size of all inputfiles together, but when playing, it only plays the part in the first wmv file.
Apparently, it requires some clever 'stitching' to join the footers and header of subsequent files.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can we use shell script to combine multiple file ?
For example we have 3 file
1.txt
2.txt
3.txt
and the result should be : (6 Replies)
Discussion started by: justbow
6 Replies
2. OS X (Apple)
I need a simple command line executable that allows me to convert a wmv file into an mpg file like this:
wmv2mpg inputfile.mwv > outputfile.mpg
I cannot find it on internet. I tried installing mencoder but I cannot get it to work.
Thanks. (4 Replies)
Discussion started by: karman
4 Replies
3. UNIX for Dummies Questions & Answers
Hello,
My apologies if this has been posted elsewhere, I have had a look at several threads but I am still confused how to use these functions. I have two files, each with 5 columns:
File A: (tab-delimited)
PDB CHAIN Start End Fragment
1avq A 171 176 awyfan
1avq A 172 177 wyfany
1c7k A 2 7... (3 Replies)
Discussion started by: InfoSeeker
3 Replies
4. Shell Programming and Scripting
I am trying to join a few hundred files using join. Is there a way to use while read or something else to automate this. My problem is the following.
Day 1
City Temp
ABC 20
DEF 30
HIJ 15
Day 2
City Temp
ABC 22
DEF 29
KLM 5
Day 3 (3 Replies)
Discussion started by: theFinn
3 Replies
5. UNIX for Dummies Questions & Answers
Hello!
I'm searching for a little (as basic as possible) command -line tool for viewing gif animations.
I found gThumb and animate (imagemagick), but they both have a little problem...
gthumb: no possibility of changing the background when viewing in fullscreen
animate: no possibility of... (0 Replies)
Discussion started by: al0x
0 Replies
6. UNIX for Dummies Questions & Answers
file1:
Toronto:12439755:1076359:July 1, 1867:6
Quebec City:7560592:1542056:July 1, 1867:5
Halifax:938134:55284:July 1, 1867:4
Fredericton:751400:72908:July 1, 1867:3
Winnipeg:1170300:647797:July 15, 1870:7
Victoria:4168123:944735:July 20, 1871:10
Charlottetown:137900:5660:July 1, 1873:2... (2 Replies)
Discussion started by: mindfreak
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have 20 tab delimited text files that have a common column (column 1). The files are named GSM1.txt through GSM20.txt. Each file has 3 columns (2 other columns in addition to the first common column).
I want to write a script to join the files by the first common column so that in the... (5 Replies)
Discussion started by: evelibertine
5 Replies
8. Shell Programming and Scripting
Hi
I have a file like
1 2
1 2 3
1 5 6
11 12
10 2
7 5
17 12
I would like to have an output as
1 2 3 5 6 10 7
11 12 17
any help would be highly appreciated
Thanks (4 Replies)
Discussion started by: Harrisham
4 Replies
9. Shell Programming and Scripting
I am looking for help in processing of those options: '-n' or '-p'
I understand what they do and how to use them.
But, I would like to use them with more than one file (and without any shell-loop; loading the 'perl' once.)
I did try it and -n works on 2 files.
Question is:
- is it possible to... (6 Replies)
Discussion started by: alex_5161
6 Replies
10. Shell Programming and Scripting
I have two directories called English and Hindi. Each directory contains the same number of files with the only difference being that in the case of the English Directory the tag is
.english
and in the Hindi one the tag is
.Hindi
The file may contain either a single text or more than one text... (7 Replies)
Discussion started by: gimley
7 Replies
LEARN ABOUT DEBIAN
gmtconvert
GMTCONVERT(l) GMTCONVERT(l)
NAME
gmtconvert - Convert between ASCII and binary 1-D tables
SYNOPSIS
gmtconvert [ inputfiles] [ -H[nrec] ] [ -M[flag] ] [ -V ] [ -: ] [ -bi[s]n ] [ -bo[s][n] ]
DESCRIPTION
gmtconvert reads its standard input [or inputfiles] and writes out the information to standard output. Its main purpose is to convert
between binary and ASCII data tables. Input (and hence output) may have multiple subheaders if -M is selected.
datafile(s)
ASCII (or binary, see -bi) file(s) holding a number of data columns.
OPTIONS
-H Input file(s) has Header record(s). Number of header records can be changed by editing your .gmtdefaults file. If used, GMT default
is 1 header record.
-M Multiple segment file(s). Segments are separated by a special record. For ASCII files the first character must be flag [Default is
'>']. For binary files all fields must be NaN.
-V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"].
-: Toggles between (longitude,latitude) and (latitude,longitude) input/output. [Default is (longitude,latitude)]. Applies to geo-
graphic coordinates only.
-bi Selects binary input. Append s for single precision [Default is double]. Append n for the number of columns in the binary file(s).
-bo Selects binary output. Append s for single precision [Default is double].
EXAMPLES
To convert the binary file test.b (single precision) with 4 columns to ASCII, try
gmtconvert test.b -bis4 > test.dat
To convert the multiple segment ASCII table test.d to a double precision binary file, try
gmtconvert test.d -M -bo > test.b
SEE ALSO
gmt(1gmt), minmax(1gmt)
1 Jan 2004 GMTCONVERT(l)