10-15-2008
ls -l d do not work for me
Hi i want to list only the files within a directory and not the sub directories if any. i tried ls -ld but that is not working for me.
this is the result if I use it in usr/bin
$ pwd
/usr/bin
$ ls -ld
drwxr-xr-x 4 bin bin 40960 Mar 17 2008 .
$
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to find the largest files in a directory & it's subdirectories.
I'm not sure what options on ls -l will work to give me this. or is there another way to do this?
Thanks,
igidttam (6 Replies)
Discussion started by: igidttam
6 Replies
2. Shell Programming and Scripting
Hi,
I have a very big directory structure that consists of many sub-directories inside.There are around 50 ".gz" files under this dir structure.
I want to copy all the gz files alone to a seperate location.
Plz help me. (2 Replies)
Discussion started by: villain41
2 Replies
3. Shell Programming and Scripting
Dear all,
I have a dir structure like
main_dir
At_nn Ag_js Nf_hc ....
mcd32 mgd43... mcd32 mgd43... mcd32 mgd43...
and each subdir (e.g. mcd32, mgd43) contains files.
Now, i... (15 Replies)
Discussion started by: yogeshkumkar
15 Replies
4. Shell Programming and Scripting
How to list all Subdirectories and files with its full path in a parent directory? (1 Reply)
Discussion started by: johnveslin
1 Replies
5. Linux
Hi, ALL
thanks in advance,
i listed all files using this command
ls -ltr $(date +%Y%m%d)*.xmlbut i would like to exclude the last one created ;
Best regard
MEROUAN
Use code tags, thanks. (4 Replies)
Discussion started by: merouan
4 Replies
6. Shell Programming and Scripting
I need to write a script to :
list files with *.i extension in a directory and all its subdirectories + 30days old, save it in a file and then remove (2 Replies)
Discussion started by: lena keung
2 Replies
7. UNIX for Advanced & Expert Users
Hello,
I wanted to
list all files in subdirectories which are modifiled recently. need to display all files with full details like hpw it display with ls -l ( date, size,..)
Thanks
Bala (3 Replies)
Discussion started by: balareddy
3 Replies
8. Shell Programming and Scripting
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
9. UNIX for Dummies Questions & Answers
Hi, I'm currently trying to print the names of all the .txt files in the subdirectories that contain the string I'm searching.
I tried with this code, but it seems that it searches for the names that matches the string instead of searching for the string in the individual files and printing the... (2 Replies)
Discussion started by: nuclearpenguin
2 Replies
10. Shell Programming and Scripting
Hii,
Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories.
Eg.
file1: test1.log
file2: test2.log
file3 test.zip
After running the script
file1: string_test1.log
file2: string_test2.log
file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 Replies
LEARN ABOUT DEBIAN
nad2bin
NAD2BIN(1) General Commands Manual NAD2BIN(1)
NAME
nad2bin - convert nad ASCII files into binary format usable by nad2nad
DESCRIPTION
This command is undocumented upstream. This very rough documentation was quickly assembled by your friendly Debian maintainer (who doesn't
use this command, and so is not the best person to document it!).
The proj package includes the nad2nad binary, the North American Datum conversion filter used to convert data between North America Datum
1927 (NAD27) and North American Datum 1983, and cs2cs a binary that performs transformation between the source and destination cartographic
coordinate system on a set of input points. The coordinate system transformation can include translation between projected and geographic
coordinates as well as the application of datum shifts.
See the nad2nad(1) and cs2cs(1) man pages for more information.
nad2nad and cs2cs need arch-dependent conversion data files in a library directory, /usr/share/proj/ Those files are included in the proj
Debian package since 4.6.1-5. To produce/update them yourself, get the *.lla files from
http://download.osgeo.org/proj/proj-datumgrid-1.5.zip
and then run nad2bin to produce the binary files used by nad2nad and cs2cs like so:
# nad2bin < conus.lla /usr/share/proj/conus
Test nad2nad with the following example:
$ nad2nad -i 83 -o 27 -r conus << EOF
71d14'58.27"W 44d20'15.227"N
EOF
It should produce:
71d15'W 44d20'15"N
SEE ALSO
nad2nad(1), cs2cs(1)
AUTHOR
This manual page by Peter S Galbraith <psg@debian.org>.
NAD2BIN(1)