Operating on a list of files with spaces in the filenames

I am writing a script that operates on all files within a directory structure. I want to pass the full filename and path to the commands in the script. I am using a for loop to do this. Unfortunately, I don't know how to get the "for" line to pass this info properly.
I have the following items on the desktop:
a folder with a lot of spaces in its filename
file1
file2
file3
If I run
for i in $( find * /Users/<username>/Desktop/ ) # where <username> = the correct shortname
I get:
Desktop/a
folder
with
a
lot
of
spaces
in
its
filename
Desktop/file1
Desktop/file2
Desktop/file3
If I run:
for i in "$( find * /Users/<username>/Desktop )"
I get every full path for each file on the Desktop, but they're all run together on a single line as below:
Desktop/a folder with a lot of spaces in its filename Desktop/file1 Desktop/file2 Desktop/file3
How do I get the following output?
Desktop/a folder with a lot of spaces in its filename
Desktop/file1
Desktop/file2
Desktop/file3

Actually I tend to avoid loops like the plague. Don't know why, and of course you can't always do that …
Something piped into a *while read variable* loop is one of my favorite things to do in a shell script, especially throw-away scripts:
find * /Users/<username>/Desktop/ | while read file
do
[[ "$file" = .app/ ]] && continue
echo "$file"
done
It gives me tons of control. I've started with a simple one-off throw-away script to do something quick, and find it so useful that I add things, and eventually I end up with a 5,000 line utility that I cannot live without. All from a simple while loop.
My other favorite throw-away script is where I have a list of objects (often a list of files). I use a here document on those:
while read file
do
if ! gvimdiff -f $file /path/to/prev/version/$file; then
exit # :cq will cause a non-zero gvimdiff exit code
fi
done <<EOD
file1.c
file2.c
file3.c
EOD

Similar Messages

  • Issue with FTP Adapter ListFiles files with spaces in the filename

    Hi
    I have an FTP adapter that does a ListFiles of all the files in a directory. It comes back and everything works fine however it removes all spaces from the filename meaning when I do the GET afterwards this fails as it is a different filename.
    The filename is a0eQ0000000wJVdIAM~1~ technote316.TIF note the space between ~ and technote.
    When a ListFiles is done I get the following request response in BPEL execution:
    <messages>
    <InvokeGetFilenames_FileListing_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/ftp/CommonServices/SalesforceNotifcationServices/GetFileNameFromFTPServer"/></part></InvokeGetFilenames_FileListing_InputVariable>
    <InvokeGetFilenames_FileListing_OutputVariable><part name="filelist" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><filelist size="1" xmlns="http://xmlns.oracle.com/pcbpel/adapter/ftp/CommonServices/SalesforceNotifcationServices/GetFileNameFromFTPServer"><file><directory>/salesforce/006Q0000007yKcd</directory><filename>a0eQ0000000wJVdIAM~1~technote316.TIF</filename><lastModifiedTime>1305507120000</lastModifiedTime><creationTime>0</creationTime><size>1906643</size></file></filelist></part></InvokeGetFilenames_FileListing_OutputVariable></messages>
    This then follows with a GET that fails:
    <messages><input>
    <InvokeGETfile_SynchRead_InputVariable><part name="Empty" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><empty xmlns="http://xmlns.oracle.com/pcbpel/adapter/opaque/"/></part></InvokeGETfile_SynchRead_InputVariable></input><fault>
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'SynchRead' failed due to: No Data to process.
    No Data to process.
    File /salesforce/006Q0000007yKcd/a0eQ0000000wJVdIAM~1~technote316.TIF to be processed was not found or not available or has no content
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary></part><part name="detail"><detail>550 /salesforce/006Q0000007yKcd/a0eQ0000000wJVdIAM~1~technote316.TIF: No such file or directory</detail></part><part name="code"><code>550</code></part></remoteFault></bpelFault></fault><faultType>
    <message>0</message></faultType></messages>
    I'm guessing its some use of the jca.message.encoding I can't find anything that really explains this though. Just the http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_propertys.htm link.
    Any help would be greatly appreciated.
    Thanks

    Hi PG,
    Is your private file in the form of Java Keystore (.jks)? I had used .ppk file and it was a success.
    If it is .jks in your case, try using the same password for private key as of keystore file (.jks). I hope you're not supplying any PASSWORD in the Adapter properties.
    Regards,
    Neeraj Sehgal

  • Can't open a file with spaces on the filename.

    Lets say I have a file:
    /home/orv/Open - Me - Please.txt
    When I double click to open that file with any program, the result is something like this:
    "Unable to find /home/orv/Open%20-%20Me%20-%20Please.txt"
    I'm not sure what to call that process of converting the file name so I've been unable to google it up to find a fix or a way to change the behavior of the file manager.
    I've checked the settings in Nautilus and nothings there. Any clues? Thank you!
    Last edited by orv (2007-12-14 23:11:59)

    I tried removing everything in my home directory to erase all settings, still the same problem.
    I tried using a different file manager and still the same problem.
    Here's another example of my problem and its quirks:
    Lets say I have a file called:
    /home/orv/I am a Movie.avi
    In nautilus or thunar, double-clicking that file so I can play it with Mplayer will give an error:
    Failed to open file:///home/orv/I%20am%20a%20Movie.avi
    However, when I drag and drop using the file manager into Mplayer, it works.
    So my problem is this automatic conversion of whitespaces into the %20 which I don't know how to turn off.

  • Move file with space in the filename - SM49

    Hi,
    I am using operating system command, MV, to move files across directories in application server. If the filename has spaces, this move fails. Can you please tell me if any escape character can solve this issue? I have already tried using backslash, single and double quotes.
    Thanks,
    Hema

    here's the solution:
    http://www.freebsd.org/cgi/man.cgi?query=file&apropos=0&sektion=0&manpath=FreeBSD+8.1-RELEASE&format=html
    The one significant difference between this version and System V is that
         this version treats any white space as a delimiter, so that spaces in
         pattern strings must be escaped.  For example,
            >10        string  language impress        (imPRESS data)
         in an existing magic file would have to be changed to
            >10        string  language\ impress        (imPRESS data)
    hope that helps

  • When downloading a file with spaces in the filename, v36.0.3 fails to download properly

    When I try to download the following file with the link:
    https://attachments.posteli.com/posteli.com/Christian.Steiner/96acd19d-8859-404d-9f19-76ba6c448f0c/96acd19d-8859-404d-9f19-76ba6c448f0c-19 MB PDF.pdf
    Other browsers are fine, but Firefox doesn't handle the spaces properly and the download fails.
    https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=firefox%20ignores%20content-disposition%20filename

    In order to post the link you want us to click, could you enclose it in [square brackets]?
    For those generating the filename portion of the header, it would be best to replace the spaces with %20 (URI encoding for space).

  • How move file with space in the name to another foler on Linux from ABAP?

    Hi experts,
    My requirement is to move the file on Linux to another folder via ABAP program.
    IN SM49 is defined ZMOVE command for "mv" operating system command. In ABAP, fm:
    SXPG_COMMAND_EXECUTE calls ZMOVE external command to move the file to another folder.
    But in case that file has space in the file name, then the fm gives error and the file can not be moved.
    I have tried as given in the Note 1152084 - Parameter for external commands but it doesn't work.
    Don't know if the reason is that the note is for Windows or Unix and we have Linux.
    So, I have tried with ''%file name%' and '''file name'''.
    PLease advice hoe to move file on Linux to another folder from ABAP program if the file has spec in the name.
    Thanks in advance.
    Kind regards,
    Danijela Zivanovic

    Hi,
    You can also try :
    mv "file\ name" /<path_to_new_dir>
    (Put "\" before each space)
    Regards.
    Rajesh Narkhede

  • Unable to access files with spaces in the path

    Hi all, I am accessing files which reside on the server using a java applet.
    The typical path of a file could be:
    http://192.168.0.2/agat/data/AF190701 0003.agt
    (not the space in the filename).
    When I try to open this file using a URL object:
    URL file = new URL(filename);
    BufferedReader in = new BufferedReader(new InputStreamReader(file.openStream()));
    I get exception 400 ( I think) whihc I assume is file cant be found.
    However when I rename the file (to get rid of that space) and also change the filename variable to suit. The file is opened as expected.
    What should I do to make the applet able to open paths with spaces? Or is this just not possible.
    I did try including quotes with the special characte precessor:
    filename = "/"http://192.168.0.2/agat/data/AF190701 0003.agt/""
    But this didnt work either, please could someone tell what I need.
    Thanks.

    Thanks guys, although before I got your replies I did the following - it seems to work, but shall try your suggestions.
    while (file.lastIndexOf(" ") >0)
    String temp;
    int num = file.lastIndexOf(" ");
    temp = file.substring(0, num) + "%20" + file.substring(num+1, file.length());
    file = temp;
    }

  • Process.start("winword", filename) can not open file with space in the path and name

    Hi,
    I am trying to write a class which can open file with selected application. for simplicity, now I just hard code the varaibles.
    the problem: if the path or file name has space in it, even it exist, winword still can not open it.
    could someone kindly show me what I did wrong and how to do it properly.
    Thanks in advance.
    Belinda
    public static class FileOpen
    public static void info()
    string path = @"c:\a temp folder\aaa 1.txt";
    if (File.Exists(path))
        // the file I am using in the sample does exist
         MsgBox.info("yes");
    else
         MsgBox.info("no");
    // working
    //Process.Start("winword", "c:\\aaa.txt");
    // not working
    //Process.Start("winword", "c:\aaa.txt");
    // not working
    Process.Start("winword", "c:\\a temp folder\\aaa 1.txt");
    // not working
    Process.Start("winword", path);

    string AppPath;
    AppPath = ReadRegistry(Registry.CurrentUser, "Software\\FabricStudio", "TARGETDIR", value).ToString() + @"help";
    string FileName = "'"+ AppPath + "\\ImageSamples.doc" + "'";
    try
    System.Diagnostics.Process.Start("Winword.exe", FileName);
    can any body please help for this.
    where i am making mistake?

  • Can't email files with spaces in the file name since 10.5.2 upgrade

    Not sure if this is a bug with Leopard or I'm being stupid (possibly the later) but... Has anyone else experienced this issue and do you know what is causing it? I am currently unable to send a file that has a space in the file name. The only change on my system that has occurred since I last sent and email in a similar way is I've updated my OS from 10.5.1 to 10.5.2. Any ideas how to fix it?

    Sorted. Well sort of. I still have the problem but I know why. Apparently O2 will not allow anyone to send an attachment which has a space in the name. They claim that this reduces spam - no idea why they think that will stop spam but there you go...

  • LibreOffice can't open files with spaces in the name

    Hi, so I recently installed LibreOffice (from extra) over go-OO. I know the site says it's not for production use but I have heard good things about the stability of the current version so I decided to see if it was in a usable state. In general things are going great, but I do have the problem mentioned in the thread title. The program has trouble parsing the spaces, and instead I am trying to open each space-delimited section of the filename as a separate file. Trying to open "My File.odt", for example, will simply return two error messages, one about "path/to/current/directory/My" not existing, and another about "path/to/current/directory/File.odt" not existing. I can't seem to get around this behaviour and, surprisingly, I can't find anything on it by Googling.
    I know that LO is in beta and this may just be a bug that is being worked on, but since I can only find one reference to it on the net I thought that maybe others were not having this problem or had found a way around it.  Can anyone provide any insight? Cheers!

    vimex wrote:
    comment these lines in /usr/lib/ooo-3.3/program/soffice
    the $* has some problem, but I do not know how to correct this...
    # Setup our app as oosplash, but try to avoid executing pagein,
    # and other expensive environment setup pieces wherever possible
    # for a second started office
    #if [ "$sd_binary" = "soffice.bin" -a -x "$sd_prog/oosplash.bin" ] && [ "$no_oosplash" != "y" ] ; then
    #    sd_binary="oosplash.bin"
    #    export QSTART_CHECK_ONLY=1
    #    if "$sd_prog/$sd_binary" $*; then
    #   exit 0
    #    fi
    #    unset QSTART_CHECK_ONLY
    #fi
    I noticed that commenting out that code allows LibreOffice to open spaced filenames, but seems to slightly increase startup time.
    I tried replacing $* with "$*", and opening from the command line seems to work even for files with spaced names, with the faster startup time too. The only problem is that now LO does not work at all by clicking; only from command line.

  • Programmatic launch of reader 11.0.3 won't open file with spaces in the path?

    The application I work on uses a PDF file for online help.  We programmatically launch the help file into the user's PDF viewer.  The path to the help file may have spaces in the directory names or filename.  With previous versions of Adobe Reader, it would launch just fine (path passed in on the command line).  However, with 11.0.3, I find that if I don't include an extra set of quotation marks around the path, it fails to open when there are spaces in the directory name.  What changed between then and now to cause this problem?  If I add extra quotation marks, will users with an older version of Reader not be able to open the file?
    Edit -- running in Windows 7, launched from C# .NET 3.5.

    benten2000 wrote:
    Install is fine and the icon is shown on the desktop and pdf files icons also change to Acrobat.
    I seem to have missed this part when reading your original post.  See if anything in this article fixes your problem: http://helpx.adobe.com/acrobat/kb/application-file-icons-change-acrobat.html

  • Using Mac OS, Firefox 3.6 will not save nor open html files with spaces in the file name. Will version 4.0 do this?

    I have hundreds of saved files with names that have spaces in them (like movie 10 41.html). I could not use Firefox 3.6 because it would not open these files for viewing and had to reinstall Firefox 3.5.8 which I have now. If I install Firefox 4.o, will I have the same problem? I use Mac OS 10.5

    I have Firefox 3.6.6, and now that Firefox 4.0 is available, it crashes constantly. Sometimes less than 5 minutes after I open it. I have a Mac 10.4.11, so Firefox 4.0 isn't an option for me. When I asked Ff to check my plug-ins it said there was an error and to check back later. Twice.
    Because I didn't have any (any) problems with my Ff before the upgrade became available, I am forced to question if Ff has done something to make the earlier version crash so you'll upgrade, but I can't afford to upgrade my Mac right now.
    In the meantime, I do need a browser that works! I dislike Safari, Chrome is also not available on Mac 10.4.11, and Explorer is just plain not available on Mac.
    Do you have any suggestions on how to fix my Firefox 3.6.6?
    Ty

  • Bug: can't access static files with space in the path

    Please let me know if this a a wrong place to file bug reports.
    I installed webserver7u4 and when I try to access a static file within my war which contains a space in the path, I get HTTP404.
    $ ls webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black\ spinner/1.png
    webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black spinner/1.png
    $ wget -O /dev/null "http://localhost:8080/images/ddtree/black spinner/1.png
    "--13:47:06-- http://localhost:8080/images/ddtree/black%20spinner/1.png
    => `/dev/null'
    Resolving localhost... 127.0.0.1, ::1
    Connecting to localhost|127.0.0.1|:8080... connected.
    HTTP request sent, awaiting response... 404 Not found
    13:47:06 ERROR 404: Not found.Now, if I create a symlink to a path that contains url encoded space, everything works:
    $ ls -l webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black%20spinner
    lrwxrwxrwx 1 root root 13 Aug 1 2008 webserver7/https-myapp/web-app/myapp/_default/images/ddtree/black%20spinner -> black spinner
    $ wget -O /dev/null "http://localhost:8080/images/ddtree/black spinner/1.png"
    --13:49:37-- http://localhost:8080/images/ddtree/black%20spinner/1.png
    => `/dev/null'
    Resolving localhost... 127.0.0.1, ::1
    Connecting to localhost|127.0.0.1|:8080... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,446 (1.4K) [image/png]
    100%[======================================================================== =======================================>] 1,446 --.--K/s
    13:49:37 (89.76 MB/s) - `/dev/null' saved [1446/1446]So to me it appears that webserver doesn't decode the path before searching the local file system, which to me looks like a bug.
    Let me know if you need more info.
    cheers,
    Igor

    HTTP/1.1 RFC [http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2|http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2]
    3.2 Uniform Resource Identifiers
    URIs have been known by many names: WWW addresses, Universal Document Identifiers,
    Universal Resource Identifiers [3], and finally the combination of
    Uniform Resource Locators (URL) [4] and Names (URN)  ... where
    3 is a link to [http://www.ietf.org/rfc/rfc1630.txt|http://www.ietf.org/rfc/rfc1630.txt] section BNF for specific URL schemes
      httpaddress              h t t p :   / / hostport [  / path ] [ ?search ]
      path                   void |  segment  [  / path ]
      segment                xpalphas
      xpalphas               xpalpha [ xpalphas ]
      xpalpha                xalpha | +
      xalpha                 alpha | digit | safe | extra | escape
      alpha                  a | b | c | d | e | f | g | h | i | j | k |
                             l | m | n | o  | p | q | r | s | t | u | v |
                             w | x | y | z | A | B | C  | D | E | F | G |
                             H | I | J | K | L | M | N | O | P |  Q | R |
                             S | T | U | V | W | X | Y | Z
      digit                  0 |1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
      safe                   $ | - | _ | @ | . | &  | + | -
      extra                  ! | * |  " |  ' | ( | )  | ,
      escape                 % hex hex
      hex                    digit | a | b | c | d | e | f | A | B | C | D | E | F{code}
    4 is a link to RFC 1738 Uniform Resource Locators (URL)
    [http://www.ietf.org/rfc/rfc1738.txt|http://www.ietf.org/rfc/rfc1738.txt] section 5. BNF for specific URL schemes
    has :
    {code}
    httpurl        = "http://" hostport [ "/" hpath [ "?" search ]]
    hpath          = hsegment *[ "/" hsegment ]
    hsegment       = *[ uchar | ";" | ":" | "@" | "&" | "=" ]
    uchar          = unreserved | escape
    escape         = "%" hex hex
    hex            = digit | "A" | "B" | "C" | "D" | "E" | "F" |
                                 "a" | "b" | "c" | "d" | "e" | "f"
    unreserved     = alpha | digit | safe | extra
    alpha          = lowalpha | hialpha
    lowalpha       = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" |
                     "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" |
                     "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" |
                     "y" | "z"
    hialpha        = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" |
                     "J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" |
                     "S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"
    digit          = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" |"8" | "9"
    safe           = "$" | "-" | "_" | "." | "+"
    extra          = "!" | "*" | "'" | "(" | ")" | ","
    {code}
    I do not see space in these RFCs for httpurl.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • WebDAV problem - cannot see directories/files with space in filename

    Using latest OS x 10.4.6 and can access my company's Sharepoint server via WebDAV.
    However I only see folders/files that have no space in the filename - this is a major showstopper as I obviously cannot impose on rest of company how to name files.
    PS: I can access this Sharepoint site via a webbrowser but I cannot easily upload/download files in the browser interface. Actually upload does not work in Safari (endless timeout) but it does work in firefox
    PPS: Tried DAVExplorer and it could not even access the sharepoint site.
    Help appreciated.,

    Thanks Tim.
    I am connecting to an external WebDav server - Sharepoint 2001/2003. As per above SP 2003 and OSX as client create all the troubles listed above..
    Note: I compared console.log from my Sp2001 connections and SP2003 connections. Connecting to SP3 and gtrying to access a WebDav folder with directoriers/files containing spaces I see all kind of errors in console.log - see below.
    Any comments?
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (finish != bytes) failed; going to _CFGregorianDateCreateWithBytes; file: mount.tproj/webdav_network.c; line: 118
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; file: mount.tproj/webdav_parse.c; line: 1115
    May 8 01:14:57 nboegholm-OSX webdavd[13502]: (uriURL != NULL) failed; going to CFURLCreateWithString; fil

  • How to delete the file with space in name

    Hi
    I want to delete the file "test ex.txt" file.
    i run the following command in command prompt.i can delete the file successfully.
    /bin/rm -f /mnt/"test ex.txt"
    I want to run the command from java.So i am using the following code
    String cmd = "/bin/rm -f /mnt/\"test ex.txt\"";
         Runtime rt = Runtime.getRuntime();
    process = rt.exec(cmd);
    The file was not deleted.
    How to delete the file with space in name?
    Help me

    Use the form of exec that takes an array of command + args.
    arr[0] = "/bin/rm"
    arr[1] = "-f"
    arr[2] = "/home/me/some directory with spaces";Or use ProcessBuilder, which is the preferred replacement for Runtime.exec, and which Runtime.exec calls.

Maybe you are looking for

  • Cannot get PAGES to open

    Cannot get PAGES to open

  • Cisco Standalone AP configuration

    Hi All, Ap 1600 radios are automatically disabled if i configure WEP for Shared authentication.What can be the issue..?

  • IPod not showing up when plugged in computer

    Hi everyone, I connected my 2nd gen iPod touch into my brand new laptop the other day, but nothing happened. I hear the default do-di windows sound to notice me it has detected a new device, but that's it. My iPod isn't charging, and I can't see my i

  • About Business One

    hi experts,             Can we integrate Business one with R3 system thru XI? ragrds, mani

  • IMatch issues since Sunday 18/11

    Since Sunday's update to Safari and QuickTime my music that I have transferred to my iPhone (4s) using iMatch is very odd. I am finding a lot of artists marked as unknown - even though when you click through the artist, art work and all the tracks ar