01-30-2009
Thanks squire! No amount of googling and book reading would have lead me to coming up with that solution any time soon.
Thanks again
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all!
I'd like to know the differences between hard links and soft links. I've already read the ln manpage, but i'm not quite sure of what i understood.
Does a hard link sort of copy the file to a new name, give it the same inode number and same rights?
What exactly should I do to do this:... (3 Replies)
Discussion started by: penguin-friend
3 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
Can any one please explain me what is the difference between hard link and soft link in UNIX.
Thanks in advance
Raja Chokalingam. (2 Replies)
Discussion started by: RAJACHOKALINGAM
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
PLease let me know the usage of Hard Link vs Soft Link
i.e what is the basic difference and what happens when one file is changed or deleted in both the cases???
thanks (3 Replies)
Discussion started by: skyineyes
3 Replies
4. UNIX for Dummies Questions & Answers
Hi Experts,
Please help me out to find out difference between a hard link and a soft link.
I am new in unix plz help me with some example commands ( for creating such links).
Regards
S.Kamakshi :) (2 Replies)
Discussion started by: kamakshi s
2 Replies
5. UNIX for Dummies Questions & Answers
I was wondering if it was at all possible to change the timestamp of a soft link. I want to change it to a time in the past before it was created.
Sceanrio:
In a directory i have a number of softlinks whih point to files, a script processes these files oldest first bassed on the time the... (8 Replies)
Discussion started by: cdoyle
8 Replies
6. Shell Programming and Scripting
Hi ,
When installing oracle software a set of directories are created under
the home directories.
Since the home directory is usually not big , i would like to create a soft link
from the home directory to mount point with alot of free space , that way the logs will not be wriiten under the... (1 Reply)
Discussion started by: yoavbe
1 Replies
7. Shell Programming and Scripting
hi
i have create a soft link using below command.
ln -s <filename> <dirmane>where file name i use is t1 and dir name was t2.
i deleted the dir t2 using command rm -rf to remove the soft link .
however again i create a file a using the name t2 and when i just try to link t1 to t2 ... (1 Reply)
Discussion started by: scriptor
1 Replies
8. Solaris
I did restore from netbackup for root file system on separate slice instead of corrupted one. After restoration I found there are number of soft link issues lie
e.g
libabcxyx > /mnt/usr/lib
it should be
libabcxyz > /usr/lib
does any have solution to change symbolic link changed in... (1 Reply)
Discussion started by: nimish_mehta
1 Replies
9. Shell Programming and Scripting
can u help me out how change the hooked file below.
VEUEMASTER.txt -> /sbvnj/kfls//VSUE_OBR_MAER.txt.201503230800 (4 Replies)
Discussion started by: ramkumar15
4 Replies
10. UNIX for Advanced & Expert Users
Hi All,
I tried creating a soft link with the file itself. It got created successfully.
bash-3.2$ ls -l a
lrwxrwxrwx 1 ebrigup other 1 Oct 5 19:14 a -> a
bash-3.2$
Can anyone explain what is the possible use of it. I dont see any except practically wasting an inode... (2 Replies)
Discussion started by: brij123
2 Replies
LEARN ABOUT DEBIAN
text::vcard::addressbook
Text::vCard::Addressbook(3pm) User Contributed Perl Documentation Text::vCard::Addressbook(3pm)
NAME
Text::vCard::Addressbook - a package to parse, edit and create multiple vCards (RFC 2426)
SYNOPSIS
use Text::vCard::Addressbook;
my $address_book = Text::vCard::Addressbook->new({
'source_file' => '/path/to/address.vcf',
});
foreach my $vcard ($address_book->vcards()) {
print "Got card for " . $vcard->fullname() . "
";
}
DESCRIPTION
This package provides an API to reading / editing and creating multiple vCards. A vCard is an electronic business card. This package has
been developed based on rfc2426.
You will find that many applications (Apple Address book, MS Outlook, Evolution etc) can export and import vCards.
READING IN VCARDS
load()
use Text::vCard::Addressbook;
# Read in from a list of files
my $address_book = Text::vCard::Addressbook->load( ['foo.vCard', 'Addresses.vcf']);
This method will croak if it is unable to read in any of the files.
import_data()
$address_book->import_data($value);
This method imports data directly from a string.
new()
# Read in from just one file
my $address_book = Text::vCard::Addressbook->new({
'source_file' => '/path/to/address.vcf',
});
This method will croak if it is unable to read in the source_file.
# File already in a string
my $address_book = Text::vCard::Addressbook->new({
'source_text' => $source_text,
});
# Create a new address book
my $address_book = Text::vCard::Addressbook->new();
Looping through all vcards in an address book.
foreach my $vcard ($address_book->vcards()) {
$vcard->...;
}
METHODS
add_vcard()
my $vcard = $address_book->add_vcard();
This method creates a new empty Text::vCard object, stores it in the address book and return it so you can add data to it.
vcards()
my $vcards = $address_book->vcards();
my @vcards = $address_book->vcards();
This method returns a reference to an array or an array of vcards in this address book. This could be an empty list if there are no entries
in the address book.
set_encoding()
$address_book->add_vcard('utf-8');
This method will add the string ';charset=utf-8' to each and every vCard entry. That does help in connection with e.g. an iPhone...
export()
my $vcf_file = $address_book->export()
This method returns the vcard data in the vcf file format.
Please note there is no validation, you must ensure that the correct nodes (FN,N,VERSION) are already added to each vcard if you want to
comply with RFC 2426.
This might not escape the results correctly at the moment.
AUTHOR
Leo Lapworth, LLAP@cuckoo.org
COPYRIGHT
Copyright (c) 2003 Leo Lapworth. All rights reserved. This program is free software; you can redistribute it and/or modify it under the
same terms as Perl itself.
ACKNOWLEDGEMENTS
The authors of Text::vFile::asData for making my life so much easier.
SEE ALSO
Text::vCard, Text::vCard::Node
perl v5.10.1 2011-01-11 Text::vCard::Addressbook(3pm)