10-10-2002
use the /x switch with `dir`.
This will give you the short filename that you can `cd` to.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Sorry, hope no one minds the linux question here, I use both unix and linux, and have come across a problem. On my linux box i have a dual boot, and i've set it up so i can access my windows data partition while in linux mode (mount the vfat partition), but linux doesn't recognize long file names,... (2 Replies)
Discussion started by: kymberm
2 Replies
2. Solaris
Well im using mkisofs to create iso images in Solaris 10 and then i use cdrw -i to burn the images to the cd
the problem which i noticed recent ( im new to mkisofs) i noticed its break the long file names making them shorter i searched in its help and i find two parameters one -l and one... (2 Replies)
Discussion started by: XP_2600
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I'm trying to display all process on an AIX server with the string SLRServer in them. Normally "ps -ef|grep SLRServer" would be sufficient, however in this instance the process name is enormous and the part which contains this string has been truncated, as you can see in the example below
... (8 Replies)
Discussion started by: m223464
8 Replies
4. Shell Programming and Scripting
i have a file in unix having data like
cat
dog
(having spaces in the beginning)
when i read it in a shell script
cat file_name |while read line
do
echo $line
done
it will print
cat
dog
spaces at the beginning are removed....
i dont want these spaces to be... (2 Replies)
Discussion started by: Amardeep
2 Replies
5. Shell Programming and Scripting
Sun Solaris Unix Question
Haven't been able to find any solution for this situation. Let's just say the file names listed below exist in a directory. I want the find command to find all files in this directory but at the same time I want to eliminate certain file names or files with certain... (2 Replies)
Discussion started by: 2reperry
2 Replies
6. Shell Programming and Scripting
Hi Guys,
I need a help. I have 1130 zip files. Each one of them has files including 1 html file with long file name (includes special charactors, Alphabetic and numbers).
I have copied all 1130 zip files to my linux system and extracted using below command.
Find . -name "*.zip" -exec... (7 Replies)
Discussion started by: Rajmani
7 Replies
7. UNIX for Advanced & Expert Users
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (1 Reply)
Discussion started by: mike12
1 Replies
8. Shell Programming and Scripting
I am trying to FTP of Hungary names from DOS to UNIX where I am not getting some letters of Hungary name exactly. Basically I do not have any problem with MS-DOS of these days and able to view as exactly but some HUNGARY characters are displaying with "?". I need to transfer the data from DOS to... (2 Replies)
Discussion started by: nvkuriseti
2 Replies
9. Shell Programming and Scripting
Data files coming in different names in a file name called process.txt.
1. shipments_yyyymmdd.gz
2 Order_yyyymmdd.gz
3. Invoice_yyyymmdd.gz
4. globalorder_yyyymmdd.gz
The process needs to discard all the below files and only process two of the 4 file names available
... (1 Reply)
Discussion started by: dsravanam
1 Replies
10. SCO
I am downloading a zip file that contain files that are very long. I am trying to process them, but cannot. I can move the files from one directory to another at the shell prompt, but not within a shell script, I get a stat error.
The files look somewhat like this;
... (5 Replies)
Discussion started by: trolley
5 Replies
NTFSLS(8) System Manager's Manual NTFSLS(8)
NAME
ntfsls - list directory contents on an NTFS filesystem
SYNOPSIS
ntfsls [options] device
ntfsls [ -a | --all ] [ -F | --classify ] [ -f | --force ] [ -h | --help ] [ -i | --inode ] [ -l | --long ] [ -p | --path PATH ] [ -q |
--quiet ] [ -s | --system ] [ -V | --version ] [ -v | --verbose ] [ -x | --dos ] device
DESCRIPTION
ntfsls is used to list information about the files specified by the PATH option (the root directory by default). DEVICE is the special
file corresponding to the device (e.g /dev/hdXX) or an NTFS image file.
OPTIONS
Below is a summary of all the options that ntfsls accepts. Nearly all options have two equivalent names. The short name is preceded by -
and the long name is preceded by --. Any single letter options, that don't take an argument, can be combined into a single command, e.g.
-fv is equivalent to -f -v. Long named options can be abbreviated to any unique prefix of their name.
-a, --all
Display all files. If this option is not specified file names in the POSIX namespace will not be displayed.
-F, --classify
Append indicator (one of */=@|) to entries.
-f, --force
Force execution. For example necessary to run on an NTFS partition stored in a normal file.
-h, --help
Print the usage information of ntfsls and exit.
-i, --inode
Print inode number of each file. This is the MFT reference number in NTFS terminology.
-l, --long
Use a long listing format.
-p, --path PATH
The directory whose contents to list or the file (including the path) about which to display information.
-q, --quiet
Suppress some debug/warning/error messages.
-R, --recursive
Show the contents of all directories beneath the specified directory.
-s, --system
Unless this options is specified, all files beginning with a dollar sign character will not be listed as these files are usually
system files.
-v, --verbose
Display more debug/warning/error messages.
-V, --version
Print the version number of ntfsls and exit.
-x, --dos
Display short file names, i.e. files in the DOS namespace, instead of long file names, i.e. files in the WIN32 namespace.
BUGS
There are no known problems with ntfsls. If you find a bug please send an email describing the problem to the development team:
linux-ntfs-dev@lists.sourceforge.net
AUTHORS
This version of ntfsls was written by Lode Leroy, Anton Altaparmakov, Richard Russon, Carmelo Kintana and Giang Nguyen.
AVAILABILITY
ntfsls is part of the ntfsprogs package and is available from:
http://www.linux-ntfs.org/content/view/19/37
The manual pages are available online at:
http://man.linux-ntfs.org/
SEE ALSO
ntfsprogs(8)
ntfsprogs 1.13.1 November 2005 NTFSLS(8)