Calculating how many sub directories and files in 'documents/'
I'm learning Linux through a gameshell.
Like the title says; I need to find the amount of sub directories and files in 'documents/'. The command runs fine but its the not the right answer. Here's my command :
Hi everybody:
Could anybody tell me how can I do this task in AWK language.
I've two files (file1 & file2) where file1 its last row it has first field value equal that the first row in file2, thyen I want calculate the difference in other fields, and this values apply in file2. This is:
file1:... (6 Replies)
Hi All,
I am very new to shell scripting. I have a text file which is the output of another utility. This text file has a list of SAF files which is basically a list of orphan attachments in the attachments directory. Now I want to read each file name from the file, get its size and repeat this... (6 Replies)
Hi,
Please help me, how to get all the direcotries, its sub directories and its sub directories recursively, need to exclude all the files in the process.
I wanted to disply using a unix command all the directories recursively excluding files.
I tried 'ls -FR' but that display files as... (3 Replies)
A report needs to come some what similar to this
No of elements Stream Batch No Load time
A B C D
A,B,C im able to get quite easily
wc -l /usr/local/intranet/areas/prod/output/SRGW_0?/*/MESSAGE_T.dat
O/P of above command.
A B C ... (1 Reply)
Can anyone come up with a unix command that lists
all the files, directories and sub-directories in the current directory
except a folder called log.?
Thank you in advance. (7 Replies)
how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is this doable or overly complex.
so
mydemo--2015-03-23-1500.tar.gz
> database
-... (5 Replies)
I have some files with the following contents.I would like to calculate average of fifth column. How can I do this with awk?
file1
cat 95.9 152 78.0 17.9
rat 67.1 153 36.5 30.6
dog 81.4 154 68.1 13.3
dog 92.0 155 55.5 36.5
rat 73.8 156 23.9 49.9
file2
rat... (4 Replies)
Discussion started by: avina
4 Replies
LEARN ABOUT ULTRIX
ddif
DDIF(5) File Formats Manual DDIF(5)Name
DDIF - Digital Document Interchange Format (DDIF) files
Description
Digital Document Interchange Format (DDIF) is a DDIS/ASN.1 encoding for the interchange of revisable compound documents with document pro-
cessing systems. DDIF is also a document output format, a storage format for user documents residing on a disk, and a compound document
format.
The purpose of DDIF is to allow the creation of compound documents and also to serve as a standard intermediate format for the conversion
of documents based on other formats. For example, a simple ASCII text file can be converted to DDIF, and the DDIF file can then be con-
verted to PostScript. A DDIF document can also be converted to ASCII.
DDIF files are documents or portions of compound documents. A DDIF document is considered a simple document if it consists of one file. A
DDIF document is considered a compound document if it consists of more than one file, the master of which must be a DDIF file.
A DDIF file can contain storage addresses (for example, filename) of other files, which must be DDIF, ASCII text, binary, or PostScript.
References to DOTS files is not supported.
Because a DDIF file can reference another DDIF file and the referenced DDIF file can reference other DDIF files, a DDIF document can con-
sist of a tree of files.
The following commands are used to manipulate DDIF files:
cdoc Provides a set of converters to and from DDIF format.
ctod Packs DDIF documents into DOTS syntax. The user can choose to archive a DDIF document in this manner. The command
also copies DDIF files from one location to another.
dtoc Copies DDIF files from one location to another.
dxvdoc Enables user to view DDIF documents. The command is used on workstations running ULTRIX UWS software. The command can
also display imbedded graphics and image data that is encoded in the DDIF syntax.
vdoc Enables user to view DDIF documents. The command is for use on character-cell terminals.
DDIF documents can be mailed to other users.
See Alsocdoc(1), ctod(1), dtoc(1), vdoc(1), dxvdoc(1X), DOTS(5), DDIS(5)DDIF(5)