Moving a file with unlikable characters

Tracy LeBlanc tleblanc at avisalaska.com
Tue Dec 9 11:12:01 PST 2014



-----Original Message-----
From: Filepro-list
[mailto:filepro-list-bounces+tleblanc=avisalaska.com at lists.celestial.com] On
Behalf Of Kenneth Brody
Sent: Tuesday, December 09, 2014 10:01 AM
To: Tracy LeBlanc; filepro-list at lists.celestial.com
Subject: Re: Moving a file with unlikable characters

On 12/9/2014 1:51 PM, Tracy LeBlanc wrote:
> Moving a file in Linux though filepro programming.
>
> mv /appl/forms/14-099-01 (2).jpg
> /appl/forms/Vehicles/237306/14-099-01/14-099-01_2.jpg
>
> I'm figuring out that if the file name has a blank or ( or ) Linux 
> will not move the file name. Is there a way to make Linux read the 
> actual file name and move/rename it? Am I missing something?

Simply put the filename in quotes:

     mv "/appl/forms/14-099-01 (2).jpg" "/appl/forms..."

(The same applies to Windows as well.)

--
Kenneth Brody


Thank you much! When I saw the answer then I remembered to use the
apostrophe to create the quotes when making my dummy field.

My light is on and I've made myself another note. Thank you.




_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list