add directory(1m) add directory(1m)NAME
add directory - Adds a value to a modifiable, set-valued attribute (including application-defined attributes) of a directory
SYNOPSIS
cdscp add directory directory-name attribute-name = attribute-value
ARGUMENTS
The full name of the directory. The name of a particular attribute. Specify only one attribute at a time. See the cds_attributes file
for the list of attributes that your application uses. attribute-value The value of a particular attribute. The value of an application-
defined attribute is dependent on the type of attribute. See the cds_attributes file for the list of attributes and corresponding data
types that your application uses. If you enter a byte data type, you must enter an even number of digits in length. You can only enter
pairs of hexadecimal values for user-defined attributes.
DESCRIPTION
The add directory command adds a value to a modifiable, set-valued attribute (including application-defined attributes) of a directory. If
the attribute does not exist, this command creates it. Usually, this task is performed through the client application. See the DCE Admin-
istration Guide for more information about attributes.
Privilege Required
You must have write permission to the directory.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
To add the value ontario to the attribute myname of a directory named /.:/sales, read the cds_attributes file to verify that the attribute
shown in the following display exists:
OID LABEL SYNTAX
1.3.22.1.3.91 myname char
Enter the following command to assign the value ontario to the attribute myname: cdscp> add directory /.:/sales myname = ontario
RELATED INFORMATION
Commands: remove directory(1m), show directory(1m)
Books: OSF DCE Administration Guide
add directory(1m)
Check Out this Related Man Page
list child(1m) list child(1m)NAME
list child - Displays a list of all the child pointers whose names match the specified child name
SYNOPSIS
cdscp list child child-name [with attribute-name = attribute-value]
ARGUMENTS
The full name of a specific child pointer. The last simple name can contain wildcard characters. The name of a particular attribute. The
value of a particular attribute.
DESCRIPTION
The list child command displays a list of all the child pointers whose names match the specified child name. The last simple name can con-
tain wildcard characters. You can use a with attribute-name = attribute-value clause to limit output only to child pointers whose
attributes have values equal to the specified values. A space must precede and follow the = (equals sign).
Privilege Required
You must have read permission to the directory that stores the child pointer. If you use a with attribute-name = attribute-value clause in
the command, you also need read or test permission to the selected child pointers.
NOTE
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command displays a list of all the child pointers named in the /.:/sales directory:
cdscp> list child /.:/sales/*
LIST
CHILD /.../abc.com/sales
AT 1991-10-15-15:56:00 Q1 Q2 Q3 Q4
RELATED INFORMATION
Commands: create child(1m), delete child(1m), show child(1m)
list child(1m)
actually, it seems somewhat confusing.. let me clearify it
i want a file having all the attributes produced by ls -lc command. i want to add one more thing i.e. time of last access to a file attribute. so how can i merge these two things in a single file in a columnar way.
i tried with these... (2 Replies)
We have a common directory , everyone can put file to it , but I found that there is a problem if the user continouosly write files to this directory while the another application is running at the same time , so I want temporaily "protect" the directory , no files can be write to it at a specific... (3 Replies)
I got a server (test server) that hangs anytime we run a ls attribute like ls -ltr or ls -al. We can run ls | more command with no problem. But getting back to the ls attribute problem, it just sits and hangs, I did a ps -ef | grep ls, and a user had 15 sessions of ls -al running, I killed those,... (3 Replies)
#!/usr/bin/bash
name="$@"
myname=malay
#echo $myname
select firstname in $name;
do
if ;then
echo $firstname
else
break
fi
done
invoking with:-
./script.sh one two three four five six seven eight nine malay (6 Replies)
Please help in the following problem:
Input is:
Pritam
123
456
Patil
myname
youname
Pritam
myproject
thisproject
iclic
Patil
remaining text
some more text
I need the command which will display the no of lines between two words in the whole file.
e.g. Display all the no of lines... (5 Replies)
3001-604 Error getting user "senthild"'s attribute maxexpired.
You must add this attribute with the chuser command.
3001-604 Error getting user "senthild"'s attribute histexpire.
You must add this attribute with the chuser command.
3001-604 Error getting user "senthild"'s... (3 Replies)
I want to ask the user to enter an X amount of file names. I want to put those names into an array and then loop back through them to verify they are in the directory. 1st- How would I assign the value to an array and what is the correct syntax. 2nd- how would i reference that array after I... (3 Replies)
Hi , if I copy an application directory (with all its subdirectories) from one unix box to another (suppose same version), will that application work in the 2nd unix box? (3 Replies)
We have an 8-processor Itanium system running HP-UX 11.23 connected to shared SAN discs.
We have an application that creates files (about 10) in a specific directory. When the application terminates, these files are removed (unlink) and a few others are updated. The directory contains... (8 Replies)
Anyone else getting tired of the sales ads? There are so many now. It's getting painful just to poke around the forums.
I think that I'm outta here for awhile. :( (4 Replies)
Is there any command that can list out all the files size including directory in 1 command?
`ls` will only give 2048 for a directory, which i'm looking for the actual size. (5 Replies)
Hi All,
I am trying to add odm_wait attribute to CuAt programatically using putattr(&pCuAt).
I was able to add when the odm_wait has positive value . But, I am facing issues when the odm_wait has negative value
As per IBM, these are the odm_wait possible values
#define ODM_WAIT -1 /*... (3 Replies)
I have logged into ftp and unable to enter into the below directory.
can anyone help me out to enter into the below directory.
ftp> dir
200 Command PORT okay.
150 File status okay; about to open data connection.
drwx------ 0 0 Dec 15 06:39 BANK ISI-Bas
ftp> cd BANK... (5 Replies)
Hi Guys,
How to add no. from different directory, my path is below:
$ cd sms_files_2/name_files/
$ wc -l *20150208*
100000 split_cmp_1-C2014020657_1-T2014020668_20150208034623_ai.csv
100000 split_cmp_1-C2014020657_1-T2014020668_20150208034623_aj.csv
100000... (5 Replies)
OSX uses its own directory strecture on the BSD core, for example /Users/Bob_Alice/. but legacy Unix structure /usr/... remains. Adding confustion, some Unix books say /usr/ was never intended for specific users. and others show it being used for Bor or Alice. I am not sure where to put my third... (5 Replies)