|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
case sensitive "if [ -e $file ]"?
hi, I need to check if a file exists. Code:
if [ -e $file ] is not case sensitive, while I need an exact -case sensitive- match. Is there any other command to do that? thx jul |
| Sponsored Links | ||
|
|
|
|||
|
ok, sorry, I should have tried it first in local. I want to check if a file exists in a shared folder on a windows computer, mounted as follows: Code:
sudo mount -t cifs -o username=xxx,password=xxx,uid=jul,gid=jul //192.168.0.92/public /media/shared and when running the command for a file in /media/shared, the search is not case sensitive (i.e. MyFile is found even if it's called myfile). Is there any way (mount option, other command...) to make it case sensitive? thanks for your reply! Jul |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "sed" to check file size & echo " " to destination file | jockey007 | Shell Programming and Scripting | 7 | 04-28-2009 03:08 AM |
| Development Releases: Linux Mint 4.0 Beta "Fluxbox", 4.0 Alpha "Debian" | Linux Bot | UNIX and Linux RSS News | 0 | 01-04-2008 03:00 PM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-20-2007 01:52 AM |
| copy "cp" command how distinquish upper/lower case | bobk544 | UNIX for Dummies Questions & Answers | 1 | 09-17-2007 12:46 PM |
| my "case" doesn't work ! | Nicol | Shell Programming and Scripting | 5 | 09-30-2004 11:28 AM |