LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2003, 01:15 AM   #1
Taking Back
LQ Newbie
 
Registered: Oct 2002
Posts: 4

Rep: Reputation: 0
Long filename access question


How do I enter Windows style long filenames (i.e. with spaces) as command line arguments in linux.
For example, I'm trying to use mpg123 to play mp3s and when I try:
'mpg123 a long filename.mp3'
it only looks for the 'a'...what is the syntax for inputting these long names?
Thanks...
 
Old 03-25-2003, 01:44 AM   #2
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
do:

Code:
mpg123 "a long filename.mp3"
or
Code:
mpg123 a\ long\ filename.mp3
 
Old 03-25-2003, 01:21 PM   #3
newbieME
Member
 
Registered: Mar 2003
Location: BC Canada
Distribution: Slack Niner ;)
Posts: 185

Rep: Reputation: 30
trying to take advantage of the tab completion in your shell..i know bash has them not sure about the rest since i haven't used them yet..

type in just part of the filename and press [tab] and it will just fill out the rest for you...but if you hear a beep and nothing shows up then there are either no filename consisting of what you specified in the prompt or there are more than one match..then just press tab twice then you will get a list of possible file names if latter is the case
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
long filename problem slack66 Linux - Newbie 5 11-05-2005 04:30 AM
long filename problem slack66 Slackware 1 11-03-2005 11:19 PM
filename encode question codec Linux - General 5 06-11-2005 03:59 PM
mount/fstab issues, vfat filename conventions: 8.3 vs long tisource Linux - Software 2 03-23-2005 10:22 PM
Long filename question on burning CD satimis Linux - General 3 05-22-2004 05:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration