09-16-2005
Read the rule book Mr Hytech, this forum is not for personal advertisement.
rishi
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I need to find out when a file has been created. 'ls -l' just lists the last date the file was modified, not the creation date. I have also noticed when viewing the attributes through NT, the last modified date is the same as the file creation date. I thought maybe this was a fault due to Samba.
... (2 Replies)
Discussion started by: dpalmer
2 Replies
2. Shell Programming and Scripting
Good day
Does anyone have an idea on how I can rcp a file together with its attributes. owner,group, permissions ?
Regards
J (2 Replies)
Discussion started by: jhansrod
2 Replies
3. Shell Programming and Scripting
How to retrieve file attributes in a sh/bash script (modification time, access time, size, etc.)? (1 Reply)
Discussion started by: Hitori
1 Replies
4. Shell Programming and Scripting
Hi,
I'm trying to assign the permissions, owner and group of a file to seperate variables, but using
ls -l filename | awk '{print $1 "\t" $3 "\t" $4}'
gives the owner as tom.ja instead of tom.james
Is there any way to expand it so i get the full name, or is there an easier way to get them... (5 Replies)
Discussion started by: olimiles
5 Replies
5. UNIX Desktop Questions & Answers
hi,
I want to know the date the file was created or modified. I can do this using ls, ll -ltr etc...
I want to do this in a function (so If the file date is older then a week I can report it), is there a way?
another thing...
In sql function, I can catch exceptions, is there a way to do this... (1 Reply)
Discussion started by: krem
1 Replies
6. Shell Programming and Scripting
Hello Folks,
I want to generate the file attributes of the system and needs to write into the text file.
I am running the command "ls -Rl" to get the details of the files from the current directory.
I am getting the output.
./linux-2.6.29.4/arch:
total 10
drwxr-xr-x 9 1138 5000 ... (3 Replies)
Discussion started by: saurabhchokshi
3 Replies
7. Shell Programming and Scripting
Hi,
Is there a way to use cp in such a way that when a file is copied to a destination, the required destination folders are automatically created with the proper permissions, and the resulting copied file has the same attributes as the original. For example if I copied... (1 Reply)
Discussion started by: pcwiz
1 Replies
8. Solaris
Hi,
I am new to shell scripting.
I have a file which has multi valued attributes. I wanted to split it so that there will be no muliti valued attributes.
Example file:
"attr1","amv1;amv2;3","bmv1;bmv2","abc","abc1;abc2;abc3"
Plz note this is CSV file and ; is the delimiter for multi valued... (7 Replies)
Discussion started by: snukala
7 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I opened a file by accident (with a java program, which has been uninstalled!) and from then on, all the file with .fasta extension has been changed with an icon (So annoying!!) and the file attributes has been changed with the property:
Type: application/x-wine-extension-fasta type... (6 Replies)
Discussion started by: yifangt
6 Replies
10. UNIX for Beginners Questions & Answers
I'm trying to sort out the charing of a problem folder, in the 'ls -l' list is shows as:
d???????????? ? ? ? ? ? Pi-Share
PiShare is the name of the directory, all the ??s make no sense to me at all, and no user (there are only two, pi and root) can make any changes to it.... (4 Replies)
Discussion started by: MuntyScrunt
4 Replies
LEARN ABOUT PHP
imap_headerinfo
IMAP_HEADERINFO(3) 1 IMAP_HEADERINFO(3)
imap_headerinfo - Read the header of the message
SYNOPSIS
object imap_headerinfo NULL (resource $imap_stream, int $msg_number, [int $fromlength], [int $subjectlength], [string $defaulthost])
DESCRIPTION
Gets information about the given message number by reading its headers.
PARAMETERS
o $
imap_stream -An IMAP stream returned by imap_open(3).
o $msg_number
- The message number
o $fromlength
- Number of characters for the fetchfrom property. Must be greater than or equal to zero.
o $subjectlength
- Number of characters for the fetchsubject property Must be greater than or equal to zero.
o $defaulthost
-
RETURN VALUES
Returns the information in an object with following properties:
o toaddress - full to: line, up to 1024 characters
o to - an array of objects from the To: line, with the following properties:
personal, adl, mailbox, and host
o fromaddress - full from: line, up to 1024 characters
o from - an array of objects from the From: line, with the following properties:
personal, adl, mailbox, and host
o ccaddress - full cc: line, up to 1024 characters
o cc - an array of objects from the Cc: line, with the following properties:
personal, adl, mailbox, and host
o bccaddress - full bcc: line, up to 1024 characters
o bcc - an array of objects from the Bcc: line, with the following properties:
personal, adl, mailbox, and host
o reply_toaddress - full Reply-To: line, up to 1024 characters
o reply_to - an array of objects from the Reply-To: line, with the following properties:
personal, adl, mailbox, and host
o senderaddress - full sender: line, up to 1024 characters
o sender - an array of objects from the Sender: line, with the following properties:
personal, adl, mailbox, and host
o return_pathaddress - full Return-Path: line, up to 1024 characters
o return_path - an array of objects from the Return-Path: line, with the following properties:
personal, adl, mailbox, and host
o remail -
o date - The message date as found in its headers
o Date - Same as date
o subject - The message subject
o Subject - Same as subject
o in_reply_to -
o message_id -
o newsgroups -
o followup_to -
o references -
o Recent -
R if recent and seen, N if recent and not seen, ' ' if not recent.
o Unseen -
U if not seen AND not recent, ' ' if seen OR not seen and recent
o Flagged -
F if flagged, ' ' if not flagged
o Answered -
A if answered, ' ' if unanswered
o Deleted -
D if deleted, ' ' if not deleted
o Draft -
X if draft, ' ' if not draft
o Msgno - The message number
o MailDate -
o Size - The message size
o udate - mail message date in Unix time
o fetchfrom - from line formatted to fit $fromlength characters
o fetchsubject - subject line formatted to fit $subjectlength characters
SEE ALSO
imap_fetch_overview(3).
PHP Documentation Group IMAP_HEADERINFO(3)