Re: Crazy directory thing

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

 



On Wed, 8 Jun 2005, Andy Pieters wrote:

> Directory structure
>
> +home
> +--ogg
> | +-- incomming
> \--incomming
>
> So I do
>
> cd ~/incomming
> mv *.mp3 ../ogg/incomming
> Result: mv: when moving multiple files, last argument must be a directory
> cp *.mp3 ../ogg/incomming
> Result: cp: `../ogg/incomming': specified destination directory does not exist
> file ../ogg/incomming
> ../ogg/incomming: ERROR: cannot open `../ogg/incomming' (No such file or
> directory)
>
> WTF?
>
> cd ../ogg/incomming
> file .
> .: directory
> mv ../../incomming/*.mp3 .
> Result: ok
>
> Weird isn't it?

No.
A directory that doesn't exist is ../ogg .
>From /home/ogg/incomming , .. = /home/ogg .
../ogg/incomming would be /home/ogg/ogg/incomming .

-- 
Mike   hennebry@xxxxxxxxxxxxxxxxxxxxx
"There are three kinds of people,
those who can count and those who can't."


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux