10-22-2008
Excellent! Those are now getting unbundled and going on my USB stick
10 More Discussions You Might Find Interesting
1. Programming
I'm writing a file manager program using FC3 and C, and I'm having a problem displaying the stat info of subdirectories.
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
int main()
{
char *dirname = "mydirectory";
struct dirent **namelist;
... (2 Replies)
Discussion started by: Bertsura
2 Replies
2. UNIX for Dummies Questions & Answers
Hi! I ran into a problem with a job I'm running. All it is doing is a "touch" on a filename. However, when I ran the job, it error'd out and got the message 'cannot stat'. When I restarted the job (making no changes) it worked just fine. Anyone know what this means? (1 Reply)
Discussion started by: lgardner
1 Replies
3. UNIX for Advanced & Expert Users
the output of stat command is
Size: 238 Blocks: 8 IO Block: 4096 regular file
Device: 80ah/2058d Inode: 736783 Links: 1
Access: (0664/-rw-rw-r--) Uid: ( 500/ gajju) Gid: ( 500/ gajju)
Access: 2008-09-08 20:00:15.000000000 +0530
Modify: 2008-09-08... (6 Replies)
Discussion started by: gajju
6 Replies
4. Programming
From reading various articles on the net, I know stat() is used on files to get things like permissions, sizes etc... As a folder is a special type of file in Unix, I assumed that stat() could work on it as well as any general file.
However, from running my program, perror() reported that the... (3 Replies)
Discussion started by: JamesGoh
3 Replies
5. Shell Programming and Scripting
I'm trying to find .tif files in a directory tree and rename them prior to zipping them and moving them to another dir. this is my code:
cd $TMPPATH
pwd
ctr=0
for i in 'find . -name "*.tif"'
do
let "ctr+=1"
newtifname=$DATEDIR"_"$SEQ"_"$ctr".tif"
mv "$i"... (6 Replies)
Discussion started by: rss0213
6 Replies
6. UNIX for Dummies Questions & Answers
i know this command does not exist in solaris. however, i read somewhere on this forum that basically everything the stat command provides in other oses can be obtained in solaris using the ls command.
i've searched the forum for a while now and i cant find the thread. does anyone know about... (1 Reply)
Discussion started by: SkySmart
1 Replies
7. Shell Programming and Scripting
Die to what all operations, the "Modify" and "Change" values of stat output changes for a file.
I found, during editing a file, Change and Modify alters. When chmod'ing Change alters, while Modify doesnot alters. Is there more situations where these changes? (1 Reply)
Discussion started by: anil510
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Experts,
I am here with very simple request:
#!bin/bash
a=`stat -c %y log1.csv`
echo $a
and this stat command returning value as
2013-08-11 05:42:10.000000000 -0400:
But I want to see in mm/dd/yyyy format?
any help is highly appreciated thank you
---------- Post... (9 Replies)
Discussion started by: parpaa
9 Replies
9. Shell Programming and Scripting
Hi All,
I am getting the below error can anyone please help with this?
cp ${AI_SERIAL}/file_name ${AI_SERIAL_ARCH}/${ODATE}_file_name
cp: cannot stat `$AI_SERIAL/FILE_NAME': No such file or directory
+ gzip:$AI_SERIAL_ARCH./$ODATE_FILE_NAME
gzip:$AI_SERIAL_ARCH./$ODATE_FILE_NAME: No such... (2 Replies)
Discussion started by: bhanudhingra
2 Replies
10. UNIX for Dummies Questions & Answers
Hi,
How do I check how old a file is? That is, is it 1 day old, 1 year old, generated x hours ago?
Currently, I receive a supposed to be daily report and in the last few times, it has not been recent, that is instead of the one generated for the day, it is one that was created yesterday or... (3 Replies)
Discussion started by: newbie_01
3 Replies
UPLCOM(4) BSD Kernel Interfaces Manual UPLCOM(4)
NAME
uplcom -- USB support for Prolific PL-2303/2303X/2303HX serial adapters driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device uplcom
device ucom
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
uplcom_load="YES"
DESCRIPTION
The uplcom driver provides support for various serial adapters based on the Prolific PL-2303, PL-2303X and PL-2303HX USB-to-RS232 Bridge
chips.
The device is accessed through the ucom(4) driver which makes it behave like a tty(4).
HARDWARE
The uplcom driver supports the following adapters:
o ATEN UC-232A
o BAFO BF-800
o BAFO BF-810
o Belkin F5U257
o ELECOM UC-SGT
o HAL Corporation Crossam2+USB IR commander
o Hama USB RS-232 Serial Adapter
o Hamlet exagerate XURS232
o IOGEAR UC-232A
o I/O DATA USB-RSAQ
o I/O DATA USB-RSAQ2
o I/O DATA USB-RSAQ3
o Mobile Action MA-620 Infrared Adapter
o PLANEX USB-RS232 URS-03
o RATOC REX-USB60
o Radio Shack USB Serial Cable
o Sandberg USB to Serial Link (model number 133-08)
o SOURCENEXT KeikaiDenwa 8 (with and without charger)
o Sony Ericsson USB Cable (Susteen USB Data Cable)
o Willcom W-SIM DD PHS terminal.(WS002IN)
SEE ALSO
tty(4), ucom(4), usb(4)
HISTORY
The uplcom driver appeared in NetBSD 1.6. This manual page was adopted from NetBSD by Tom Rhodes <trhodes@FreeBSD.org> in April 2002.
BSD
November 22, 2006 BSD