Hi,
I'm trying to execute my program from $prompt by passing many parameters which is more than 300 charecters in line but unix not accepting those many charecters, could some one help me how to increase the size?
thanks (7 Replies)
Hi,
Is it possible to accept a filename as command line parameter and then write to that file using command redirection? i tried the below script.
outputfile=`echo $1`
echo "Writing to file" > 'echo $outputfile'
exit $returncode
but it isnt working. is there any other way to... (9 Replies)
I am trying to write a script that prompts users for date and time, then process the gzip file into awk. During the ksh part of the script another file is created and needs to be processed with a different set of pattern matches then I need to combine the two in the end. I'm stuck at the part... (6 Replies)
Hi all -
I'm trying to rename a large number of files all at once and need some help figuring out the command line syntax to do it. I've already done quite a bit of research with the rename and mv commands, but so far haven't found a solution that seems to work for me. So:
The files exist... (10 Replies)
I am looking to change a data file into a javascript string and this is the code that I am using:
sed -i '' -e 's/^/str += "/' -e 's/$/";/' file.xml
The first part
-e 's/^/str += "/'
works as intended, but the second part
-e 's/$/";/'
adds an additional newline to my file, so that instead of... (3 Replies)
hi
how to remove extensions of a file.. suppose i have a filename "gtk2-2.4.13-24.el4.x86_64.rpm" and i want the file name as "gtk2-2.4.13-24.el4" means want to remove last two "." extensions of a file
can anyone help me in this
thanks in advance
srik (12 Replies)
Dear All,
Please help !
i ham having 300 file with E.G. PMC1_4567.arc in seq. like PMC1_4568.arc,PMC1_4569.arc ...n and so on.. i want all those file to be rename like PMC_4567.arc ,PMC_4568.arc .. mean i want to remove 1 from first file name ..
pls help.. (6 Replies)
hi,
sorry for posting this for a quick answer.
Is there a one line command to change permissions on files in a directory to a given mode (say 554) and only for those files that do not already have that mode?
Running chmod updates the last access/modified timestamp on the files, and i want to... (11 Replies)
Hi,I have a script which is given below :#!/bin/bash. ini_script.shdb2 connect to $DB_NAME user $DB2_UID using $DB2_PASSWORDfor file in `ls -1 ./sql/ddw/`do echo "Executing the file $file" echo db2 -tvf $filedonedb2 quiti want this script to accept directorie's names present in... (1 Reply)
Mac Version 10.15.2 (macOS Catalina)
Does anyone know how to change the name of a connected bluetooth device from the command line on macOS?
I am having trouble with various bluetooth devices which I cannot get the "rename" option in the GUI to "save" properly and so I cannot rename a few... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT DEBIAN
crip
CRIP(1) Debian GNU/Linux manual CRIP(1)NAME
crip - a terminal-based ripper/encoder/tagger tool
SYNOPSIS
crip [options]
DESCRIPTION
crip is a terminal-based ripper/encoder/tagger tool for creating Ogg Vorbis/FLAC files under UNIX/Linux.
OPTIONS -h, --help Print help and exit.
-v, --version Print version of crip and exit.
-e codec Encode to vorbis or flac (default = vorbis).
-s media Specify the source media (default = CD).
-g genre Specify the music genre (default = classical).
-q [on/off] Classical-stype questioning (default = off).
-m [on/off] Map european to american-only chars (default = off).
-t [on/off] Trim leading/tailing silence (default = off).
-n [on/off] Normalize the audio (default = off).
-V voltresh Volume threshold for normalizing (default = 1.078) (only used when normalizing is enabled).
-r [on/off] Remove files after encoding (default = on).
-E editor Editor to use (default = sensible-editor).
-u [on/off/both] Use editor to name the files (default = on) (as opposed to the command-line).
-o flags Flags to pass to oggenc (default = '-q 4').
-f flags Flags to pass to flac (default = '--best --replay-gain').
-c flags Flags to pass to cdparanoia (default = '-v -z').
-d device CDrom device to read from (default = /dev/cdrom).
-w [on/off] Skip the ripping (makes empty .wav files) (default = off) (useful if you already have the .wav files to encode).
-p [on/off] Prompt to continue after ripping (default = off) (useful pause to edit .wav files before encoding).
-x [on/off] Eject CD when done ripping (default = off)
SEE ALSO oggenc(1)flac(1)cdparanoia(1)AUTHOR
This manual page was written by Florian Ragwitz <florian.ragwitz@s2004.tu-chemnitz.de>, for the Debian project (but may be used by others).
Debian Project 2009-04-06 CRIP(1)