Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories.
The following command also shows the files but I only want to see the directories.
ls -lrtR * (4 Replies)
Hi,
I need a help. I want to see all the files in the directory with the Time Stamp. I use the following command.
$ls -lt
This displays the files with time stamp, but not all the files. Only last few months, the files are displayed with timestamp, the old files are only have dates.
... (2 Replies)
Is there a way of listing everything under a directory.
So for example if you wanted to know everything under the USR directory you would get all the sub directories and files in those directories as well as the file directly under the USR directory. I would imagine that you could do this... (5 Replies)
Hai friends is there any command in unix that display only directories...
(I have 5 directories in my home directory, and i also have some files along with directories...But when i tried to show the directory listing using the command ls -d i wasn't presented by the directory listing...Please... (2 Replies)
I am currently attempting to create a file which I access from an oracle form.
At the minute I do a host command and run an ls -l e.g.
/bin/ls -l /dir/dir/dir/ > /tmp/list.txt
I then read this file within my oracle form. However I want the user to be able to restrict, sort and filter the... (2 Replies)
In my script I need to list the directory, where the generic name of the files will change, in my test case its set to TEST_*.mqsc. I wrote a small test script as below, but it just does not pip the listing to a file.
Any idea why?
dir='C:/cygwin/var/log/img/aut/'
file=TEST01_*.mqsc
ls $dir... (4 Replies)
i have searched through this site and have found some useful information but i'm struggling with one thing. In my script i am created a start and end file so I can get a listing of the files within those two files. However I want to exclude any sub-directories in this listing. Below are the... (8 Replies)
Hello all, very much a Unix newbie.
My company has an old DG/UX system we use for customer data. I need to archive some data to clear some space, so I wanted to be able to list items in each directory by size, to grab some "low hanging" fruit to give me some breathing room as the system is... (0 Replies)
Hi,
I have a directory with a bunch of files say around 150K.
I want the directory's path and the filenames printed to a text file.
Example:
If I am in the directory /path/test and the files in this directory are
My output file should be like this
Thanks in advance
----------... (4 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
A script that takes any number of directories as command line arguments and then lists the contents of each of... (3 Replies)
Discussion started by: Phaneendra G
3 Replies
LEARN ABOUT DEBIAN
sdngen
SDNGEN(1) User Contributed Perl Documentation SDNGEN(1)NAME
sdngen - SDF Tuning File Generator
PURPOSE
sdngen extracts SDF template information from a FrameMaker template.
USAGE
usage : sdngen [-h[help]] [-o[out_ext]]
[-l[log_ext]] [-O[out_dir]] [-p para_root]
[-f font_root] [-t tbl_root]
[-e existing_template] file ...
purpose: generate an SDF template from a Frame one
version: 2.000 (SDF 2.001)
The options are:
Option Description
-h display help on options
-o output file extension
-l log file extension
-O output to input file's (or explicit) directory
-p default parent for a paragraph format
-f default parent for a font format
-t default parent for a table format
-e existing template file
DESCRIPTION
The -h option provides help. If it is specified without a parameter, a brief description of each option is displayed. To display the
attributes for an option, specify the option letter as a parameter.
By default, generated output goes to standard output. To direct output to a file per input file, use the -o option to specify an extension
for output files. If the -o option is specified without a parameter, an extension of out is assumed.
Likewise, error messages go to standard error by default. Use the -l option to create a log file per input file. If the -l option is
specified without a parameter, an extension of log is assumed.
By default, generated output and log files are created in the current directory. Use the -O option to specify an explicit output directory.
If the -O option is specified without a parameter, the input file's directory is used.
The -p option can be used to specify the root paragraph format from which others are derived. The default paragraph root is Body.
The -f option can be used to specify the root font (i.e. phrase) format from which others are derived. The default font root is Emphasis.
The -t option can be used to specify the root table format from which others are derived. The default table root is Format A.
As formats often appear in families (e.g. Heading1, Heading2, etc.), sdngen will use the (alphabetically) previous format as the parent if
it makes a better parent (i.e. there are less differences) than the default one.
If a template already exists, it can be specified using the -e option. In this case, sdngen will get as much information as it can from
that file including:
o the root format for each type
o the order of formats within a type
o the parent for each format.
Within each type, formats which are unknown in the existing template are output after those that are known.
EXAMPLES
To generate an SDF tuning file file:
sdngen -osdn mytemplate.mif
This will create a template file called mytemplate.sdn.
perl v5.12.4 2011-11-09 SDNGEN(1)