Re: move

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ signature.asc (application/pgp-signature)
+ (text/plain)
Delete this message
Reply to this message
Author: Jon M. Hanson
Date:  
To: Main PLUG discussion list
Subject: Re: move
Michael Havens wrote:
> The exact line I typed was:
>
>     mv *JPG *jpg

>
> The camera saved it's images as a <file>.JPG and capitalizations matter. The
> files with the lowercase jpg behave as they should (I can put them on the
> web). (nothing bad)
>
> On Saturday 10 February 2007 6:10 pm, Jeremy C. Reed wrote:
>
>> On Sat, 10 Feb 2007, Michael Havens wrote:
>>
>>> Simple question: I want to rename a file. So I type:
>>>
>>>     mv <file> <newfile>

>>>
>>> It responds with telling me newfile is not a directory. I inspected man
>>> mv and it seems I need to add the T option. Is this correct? (I don't
>>> want to screw up the other files in the diredctory)
>>>
>> No you do not need the -T option.
>>
>> You may want to show us the real command with arguments you typed.
>>
>> Normally, you get the error about not being a directory when you have more
>> than two arguments and the final argument (the target) is not a directory.
>>
>> Jeremy C. Reed
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change you mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>

    You can't rename something to a wildcard. It's the second argument
that's causing a problem.


-- 
Jon M. Hanson (N7ZVJ)
Homepage:  http://the-hansons-az.net
Weblog:    http://the-hansons-az.net/wordpress
Jabber IM: 


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss