move
Jon M. Hanson
jon at the-hansons-az.net
Sat Feb 10 18:27:33 MST 2007
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 - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change you mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> 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: jon at the-hansons-az.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070210/53fa8c62/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070210/53fa8c62/attachment.pgp
More information about the PLUG-discuss
mailing list