bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy in bash


From: Bob Proulx
Subject: Re: Copy in bash
Date: Tue, 7 Jun 2011 14:59:46 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

vin_eets wrote:
> I am using windows 

Then you will need to be aware of windows specific conventions.

> I wanna copy a file in folder from one location to another folder in another
> drive.
> 
> Its working fine but not when file name contain spaces i.e. if the filename
> is a b c
> 
> What would be script to acheive this functionality

You will need to quote the filename to preserve the spaces.

  $ cp "a b c" /some/other/directory/

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]