01-21-2008
Can anyone please help me in this regard. Or else tell me some suggestions so that I can process the large files in some other way.
Thanks,
Sathappan.C
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
When i run the below script,
#! /bin/csh
set userid=ficctprd
set kadir=KA_SWCCT_UK_lnswpsm05
setenv pidval `ps -ef | grep keepalive | grep -v keepaliveStub | grep -i $userid | grep -v grep | awk '{ print $2
}'`
I am getting the error "Unmatched ` ".
Could someone please help... (2 Replies)
Discussion started by: kotasateesh
2 Replies
2. Shell Programming and Scripting
Dear friends,
I am new to Unix/Linux. I am trying to run following query but getting an error msg... Please can u people help me in this?
Query:
echo "select status_ac from db_acct where acct_num=AAA000337" | dbaccess elstest
Error:
217: Column (amd000337) not found in any table in the... (2 Replies)
Discussion started by: anushree.a
2 Replies
3. Solaris
Hi,
Iam trying to convert date and time to milliseconds which iam using in a script on Sun Solaris.
I have searched the posts on the forum but i could not get any solution.
The format iam using in script is:
date -u "Thu Dec 24 00:01:00 EST 2009"
But i get a bad command error.
... (6 Replies)
Discussion started by: jyothi_wipro
6 Replies
4. Shell Programming and Scripting
I'm trying to convert hex to dec and with the help of output i need to do the process. If i execute the below code
assetValue=8f
assetNavigation=$(echo "ibase=16; "$assetValue"" | bc)
echo $assetNavigation
i'm getting the error below
$ sh script.sh
(standard_in) 1: syntax error... (1 Reply)
Discussion started by: Amutha
1 Replies
5. UNIX for Dummies Questions & Answers
Hi
I have spool file data UTF file containing
Header
data
footer
when there is data my file type is UTF FORMAT. that is typing
file file1.utf
output is data
but when there is no records of data if only shows Header and footer then the flletype is ASCII... why this happen?
Pls... (2 Replies)
Discussion started by: shenthil76
2 Replies
6. Shell Programming and Scripting
Good evening, I'm currently working on a BASH script to convert audio between file formats and I've come across a snag. At the beginning of the script, I'm having the system check to see if any files with the .m4a extension exist in the directory, and if so, it runs the script. If there are no... (1 Reply)
Discussion started by: KBurkholder
1 Replies
7. Shell Programming and Scripting
I want to implement the below formula with awk oneliner
new_value = ((old_value - old_min) / (old_max - old_min) ) * (new_max - new_min) + new_min
I want to pass the value of old_min and old_min as variable. Here is what I did for this
old_min=$(awk 'BEGIN{a=100000000000}{if ($10<0+a) a=$10}... (2 Replies)
Discussion started by: sammy777888
2 Replies
8. UNIX for Beginners Questions & Answers
If run the below code today its creating all directory and getting output files,I f run same code tomorrow I am getting error.
can any one give suggestion to sortout this error.
OSError: no such file or directory : '062518'My code looks like this
import paramiko
import sys
import os ... (8 Replies)
Discussion started by: haribabu2229
8 Replies
9. Programming
So, I'm into about 650 lines of some code I'm working on. So I'll try to explain instead of flooding this post. Say I have some code like this:
int main() {
int i, j;
char data;
printf("Gimme something: ");
fgets(data, INPUT_BUFF, stdin);
for (j = 0; j < data; j++){... (6 Replies)
Discussion started by: Azrael
6 Replies
10. UNIX for Beginners Questions & Answers
I am working on an embbeded system. On the system in /usr/bin there are a host of programs one of which is called alsamixer. I want to use this utility but whenever I try to run any alsamixer commands I get and error message:
Error opening terminal: vt100
Anyone ever seen this error... (10 Replies)
Discussion started by: Circuits
10 Replies
LEARN ABOUT MOJAVE
apfs_hfs_convert
APFS_HFS_CONVERT(8) BSD System Manager's Manual APFS_HFS_CONVERT(8)
NAME
apfs_hfs_convert -- convert an existing HFS file system to APFS file system
SYNOPSIS
apfs_hfs_convert [-D] [-g] [-e] [-v] [-i] [-S path] [-n] [-f] [-F index] [-M mount_path] [-o nx-apfs-format] <device-path>
DESCRIPTION
The apfs_hfs_convert command converts an existing HFS file system to a new APFS file system.
It is recommended not to run the apfs_hfs_convert directly, but to run `diskutil apfs convert`.
The device-path parameter should be the path to a disk device node, such as /dev/disk1s2, with an existing HFS file system, which needs to be
converted. The device-path may be a path to a whole disk, such as /dev/disk0, which contains Lightweight Volume Manager (LwVM) structures;
all HFS slices will be converted and LwVM replaced by a GPT partition map with a single partition containing the APFS container.
The options are as follows:
-e | --estimate Estimate the APFS metadata size after conversion.
-v | --verbose Increase verbosity of the output.
-s | --force-case-sensitive
Force the converted volume to be case-sensitive. By default, the converted volume will have the same case-sensitivity
as the original HFS volume.
-S path | --stats path
Print statistics about the conversion to the supplied path. If the path is - then the statistics are printed to
standard output.
-n | --dry-run Do not finalize the conversion to APFS. Volume remains HFS.
-f | --force Force conversion if volume is dirty (journal is non-empty, volume had inconsistencies, or volume is not journaled and
not unmounted cleanly).
-F index | --fixed index
Volume number index (0-based) should be formatted as fixed-size. Usually used when converting LwVM.
-M mount_path | --mount-path mount_path
When converting LwVM systems, which require a special "conversion mount" of the underlying device, use the given
mount_path as the mount point. If this option is not used, a temporary directory will be created and used.
-o nx-apfs-format NX or APFS format options.
-g If conversion succeeds, modify the GPT UUID.
-D | --skip-single-dirlinks
Convert all former and current directory hardlinks to files/aliases.
DIAGNOSTICS
The apfs_hfs_convert utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
The following converts the HFS file system on the /dev/disk1s2 device:
apfs_hfs_convert -v /dev/disk1s2
SEE ALSO
mount_apfs(8) , newfs_apfs(8)
HISTORY
The apfs_hfs_convert utility first appeared in OS X 10.12.
Mac OS X September 15, 2015 Mac OS X