On Wed, Sep 29, 2010 at 05:17:02PM -0700, Michael Rasmussen wrote:
> On Wed, Sep 29, 2010 at 04:51:24PM -0700, glen e. p. ropella wrote:
> > logical american wrote circa 10-09-29 04:38 PM:
> > >   This is a "noobie" linux question.
> > > 
> > > I cannot seem to find a simple linux command to do the following:
> > > 
> > > mv /one/long/path/on/a/partition/file 
> > > /another/path/on/another/partition/file
> > > [...]
> > > Isn't there an easy way to do this?
> > 
> > How about:
> > 
> > $ mkdir -p /another/path/on/another/partition/
> > $ mv /one/long/path/on/a/partition/file /another/path/on/another/partition/
> 
> I'm more of a fan of:
> $ mkdir -p /another/path/on/another/partition/ && mv 
> /one/long/path/on/a/partition/file !!$

Which, by the way, is incorrect.


either 
    $ mkdir -p /another/path/on/another/partition/ && mv 
/one/long/path/on/a/partition/file /another/path/on/another/partition/
or 
    $ mkdir -p /another/path/on/another/partition/
    $ mv /one/long/path/on/a/partition/file !!$

-- 
      Michael Rasmussen, Portland Oregon  
  Trading kilograms for kilometers since 2003
    Be appropriate && Follow your curiosity
          http://www.jamhome.us/
The Fortune Cookie Fortune today is:
When you start accusing everyone of being in on a conspiracy, you
shouldn't be surprised if they decide to confirm your paranoia by banding
together against you.
        ~  Terence Chua
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to