How to get real path to a file?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to get real path to a file?
# 1  
Old 09-14-2014
How to get real path to a file?

Hello,

I need download a mp3 file from a site but I can not find the actual link. Thanks.

Source codes

Code:
 <span title="what is" class="read"><embed type="application/x-shockwave-flash" src="au/audio.swf" width="17" height="13" align="texttop" quality="high" loop="false" menu="false" salign="t" wmode="transparent" flashvars="soundUrl=speech/139/what-1335273954.mp3" style="margin-top:0px;">UK</embed></span>

Code:
www.site.com/speech/139/what-1335273954.mp3 "not found"
www.site.com/au/speech/139/what-1335273954.mp3 "not found"
www.site.com/au/139/what-1335273954.mp3 "not found".

-----------------
Problem solved thanks.

Last edited by Don Cragun; 09-15-2014 at 12:07 AM.. Reason: Restore original problem statement.
# 2  
Old 09-15-2014
Moderator's Comments:
Mod Comment Rather than removing the statement of your problem, please tell us how you solved it. That way, other people searching thses forums will be able to learn from your experience.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies

2. Shell Programming and Scripting

How to tail -f real time file.

How to tail -f real time file. I want to tail file created last time. The server is gen new file Always. . An example file. -rw-r--r-- 1 shinnie tiituck 251M Oct 18 05:39 20111018_00.log -rw-r--r-- 1 shinnie tiituck 251M Oct 18 11:18 20111018_01.log -rw-r--r-- 1 shinnie tiituck... (3 Replies)
Discussion started by: ooilinlove
3 Replies

3. Shell Programming and Scripting

sh is a real file or just a link?

Hi, I'm confused about sh. someone help me.Thanks! Question: 1. sh is a real file or just a link to other shells suck as bash ksh, on Unix/Linux such as AIX HP-UX Solaris Redhat? How to find it out? 2. Does sh is the earliest shell on Unix? Looking for your answer online! (12 Replies)
Discussion started by: jackliang
12 Replies

4. Shell Programming and Scripting

Retrieve directory path from full file path through sh

Hi, I have a file abcd.txt which has contents in the form of full path file names i.e. $home> vi abcd.txt /a/b/c/r1.txt /q/w/e/r2.txt /z/x/c/r3.txt Now I want to retrieve only the directory path name for each row i.e /a/b/c/ /q/w/e/ How to get the same through shell script?... (7 Replies)
Discussion started by: royzlife
7 Replies

5. UNIX for Advanced & Expert Users

Getting real path to directory

Hi friends, Need your help. The question is: 1) We have directory '/SomeDirectory/SubDirectory' 2) And have symlink pointing to it like '/AnotherOneDirectory/symlink' '/AnotherOneDirectory/symlink' -> '/SomeDirectory/SubDirectory' 3) Need to get real path without symlinks knowing only... (7 Replies)
Discussion started by: kandrewo
7 Replies

6. Shell Programming and Scripting

geting the real path

Hi there, Is there any way to obtain a real path from a weird path. For example : /foo/../bar/ -> /bar/ /foo/. -> /foo/ Thanks in advance Santiago (5 Replies)
Discussion started by: chebarbudo
5 Replies

7. Shell Programming and Scripting

Find out the real core file

I understood using "file core" to find out the name of program causes the core file, like the result of "file core" command shows "core: XML", but I have no clue how to implement this in script in order to find out any core file is a real core file? not like a ASCII core file or some file else, can... (0 Replies)
Discussion started by: mutulong
0 Replies

8. UNIX for Dummies Questions & Answers

vi - replacing a relative path with absolute path in a file

Hi, I have a file with about 60 lines of path: app-defaults/boxXYZ....... I want to change this to /my/path/goes/here/app-defaults/boxXYZ, but of course vi doesn't like the regualr :s/old/new/ command. Is there any other quick way to do this? Thanks ;) (2 Replies)
Discussion started by: Yinzer955i
2 Replies
Login or Register to Ask a Question