Convert NAS URL to Physical Path & visa-versa


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Convert NAS URL to Physical Path & visa-versa
# 8  
Old 11-15-2018
Quote:
Originally Posted by mohtashims
Guys this has to do with a string conversion only based on output of df as was shared in the Original Post.
If that's the one and only share that will ever be fed into this, then yes, it is. If it's not, it really becomes quite complicated and requires lots more information from you.

Answer our questions faster and you'll get replies faster.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 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. Red Hat

Physical path of NIC/HBA

How can I get the physical path i.e. slot#, port# etc. using a command on linux physical server? Looking for a command for mapping. thanks... (3 Replies)
Discussion started by: snchaudhari2
3 Replies

3. AIX

AIX swap space, physical memory & cache

Hi, I am new to AIX, Can someone please help me how to know the swap space, total physical memory and system cache? We are using AIX 5.3. Thanks! (3 Replies)
Discussion started by: Phaneendra G
3 Replies

4. UNIX for Dummies Questions & Answers

How to convert relative path to absolute path?

Hello Everyone, I want to convert Relative Path - /home/stevin/data/APP_SERVICE/../datafile.txt to Absolute Path - /home/stevin/data/datafile.txt Is there a built-in tool in Unix to do this or any good ideas as to how can I implement this. -Steve (5 Replies)
Discussion started by: qwarentine
5 Replies

5. Shell Programming and Scripting

Text substitution & getting file name from url

hi, sorry if this seems trivial. i have a file url.txt which consists of a list of urls (it was supposed to be my wget -i file). however, since the server from which i am trying to download uses redirect, wget dows not remeber the filename of ther original url will save to a file name which is... (3 Replies)
Discussion started by: texttoolong
3 Replies

6. Web Development

Apache mod_rewrite: from 'friendly' url to actual path

I'd like to translate a friendly url such as: http://www.xxxyyyzzz.com/page/12345678/ to: http://www.xxxyyyzzz.com/page/12/34/56/78/ Seems simple enough, but I cannot figure out how. Any one done this before? (2 Replies)
Discussion started by: markericksen
2 Replies

7. Shell Programming and Scripting

sed help to convert from lowercase to uppercase and vice versa!

Hello, can sed be used to convert all letters of a file from uppercase to lowercase and vice versa?i know tr command can be used but with sed is it possible? i came up with this :- sed 'y///' file1 actually the above command is also not working! Please help me. Thanks in advance :) (6 Replies)
Discussion started by: salman4u
6 Replies

8. Shell Programming and Scripting

Convert Epoch Time to Standard Date and Time & Vice Versa

Hi guys, I know that this topic has been discuss numerous times, and I have search the net and this forum for it. However, non able to address the problem I faced so far. I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
Discussion started by: DrivesMeCrazy
5 Replies

9. Web Development

CAN TCPDF USE fopen() or Convert URL To PDF?

Dear all, I'm a newbie for PHP and TCPDF ,I have to change the URL to PDF, so I used FPDF , But it cannot convert most of the advanced HTML tags. So explored again and found TCPDF , it can do most of the tag but I cannot found to change URL to PDF. So Does anyone can point the example... (0 Replies)
Discussion started by: athae
0 Replies

10. UNIX for Dummies Questions & Answers

default url path

flavor AIX where oh where do I set the default url path? at one point and time the path was set to a specific dir, i.e. when I access http://server.com/page.html I am hitting a page saved off in dir1/dir2/dir3/page.html. but, how do I alter that default path? I don't have a clue what web... (5 Replies)
Discussion started by: Xiix
5 Replies
Login or Register to Ask a Question
REPORTER-UPLOAD(1)						 LIBREPORT MANUAL						REPORTER-UPLOAD(1)

NAME
reporter-upload - Uploads compressed tarball of problem directory. SYNOPSIS
reporter-upload [-c CONFFILE]... [-d DIR] [-u URL] DESCRIPTION
The tool is used to create a compressed tarball of the problem directory and upload it to a URL. Supported protocols include FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP and FILE. Configuration file Configuration file contains entries in a format "Option = Value". The options are: URL The URL where tarball should be uploaded. Integration with ABRT events reporter-upload can be used as a reporter, to allow users to upload compressed tarballs of problem directories to a configured URL. This usage can be configured in /etc/libreport/report_event.conf: EVENT=report_Upload reporter-upload It can be also used on the post-create event to upload it automatically. EVENT=post-create reporter-upload OPTIONS
-d DIR Path to problem directory. -c CONFFILE Path to configuration file. When used in ABRT event system, the file contains site-wide configuration. Users can change the values via environment variables. -u URL The URL where tarball should be uploaded. URL should have form protocol://[user[:pass]@]host/dir/[file.tar.gz] where protocol can be http(s), ftp, scp, or file. File protocol can't have user and host parts: file.tar.gz[1]. If URL ends with a slash, the archive name will be generated and appended to URL; otherwise, URL will be used as full file name. ENVIRONMENT VARIABLES
Environment variables take precedence over values provided in the configuration file. Upload_URL The URL where should be the tarball uploaded. AUTHORS
o ABRT team NOTES
1. file.tar.gz file:///dir/ LIBREPORT 2.1.11 06/18/2014 REPORTER-UPLOAD(1)