Re: command to mv files & folders to dir

2011-09-25 Thread shawn wilson
TIMDOWDY - there's more than one way to do it :) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cah_obif-aswbcjkfs0+ieowstx8bj-h2p1a2wqksw+iv7tj...@mail.gmail.com

Re: command to mv files & folders to dir

2011-09-25 Thread Ivan Shmakov
--- Begin Message --- 2011-09-25, 15:32(+07), Ivan Shmakov: [...] > (I hereafter assume that filenames do not contain any special > codes, such as ASCII LF, or Line Feed, or 10.) > [...] Or backslashes, or trailing blanks. > $ (while read f ; do \ >mv -vi -- /mnt/deer/zebra/"$

[g.l.d.user] Re: command to mv files & folders to dir

2011-09-25 Thread Ivan Shmakov
> Mark Panen writes: > On Sat, Sep 24, 2011 at 1:12 PM, Ivan Shmakov wrote: > Mark Panen writes: > On Sat, Sep 24, 2011 at 11:53 AM, Ivan Shmakov wrote: [Cross-posting to comp.unix.shell for no good reason at all.] […] $ mkdir -pv -- /mnt/deer/zebra \

Re: command to mv files & folders to dir

2011-09-25 Thread Ivan Shmakov
> Mark Panen writes: > On Sun, Sep 25, 2011 at 12:43 AM, Tom Furie wrote: > On Sat, Sep 24, 2011 at 05:00:47PM +0700, Ivan Shmakov wrote: > Tom Furie writes: What's wrong with 'mv /mnt/deer/* /mnt/deer/zebra'? Sure, it'll complain about trying to move zebra to itself

Re: command to mv files & folders to dir

2011-09-24 Thread Mark Panen
On Sun, Sep 25, 2011 at 12:43 AM, Tom Furie wrote: > On Sat, Sep 24, 2011 at 05:00:47PM +0700, Ivan Shmakov wrote: >> > Tom Furie writes: >>  > What's wrong with 'mv /mnt/deer/* /mnt/deer/zebra'? Sure, it'll >>  > complain about trying to move zebra to itself, but it works. >> >>       The ot

Re: command to mv files & folders to dir

2011-09-24 Thread Tom Furie
On Sat, Sep 24, 2011 at 05:00:47PM +0700, Ivan Shmakov wrote: > > Tom Furie writes: > > What's wrong with 'mv /mnt/deer/* /mnt/deer/zebra'? Sure, it'll > > complain about trying to move zebra to itself, but it works. > > The other catch is that it won't consider the filenames with a >

Re: command to mv files & folders to dir

2011-09-24 Thread Mark Panen
On Sat, Sep 24, 2011 at 1:12 PM, Ivan Shmakov wrote: >> Mark Panen writes: >> On Sat, Sep 24, 2011 at 11:53 AM, Ivan Shmakov wrote: >> Mark Panen writes: > >  >>> Made a bit off a muck up off things when i backed up parts of my >  >>> /home/mark directory to /mnt/deer > >  >>> In /mn

Re: command to mv files & folders to dir

2011-09-24 Thread Osamu Aoki
Hi, On Sat, Sep 24, 2011 at 05:31:47PM +0700, Ivan Shmakov wrote: > > Camaleón writes: > > On Sat, 24 Sep 2011 11:40:48 +0200, Mark Panen wrote: > > >> Made a bit off a muck up off things when i backed up parts of my > >> /home/mark directory to /mnt/deer > > >> In /mnt/deer i know

Re: command to mv files & folders to dir

2011-09-24 Thread Ivan Shmakov
> Mark Panen writes: > On Sat, Sep 24, 2011 at 11:53 AM, Ivan Shmakov wrote: > Mark Panen writes: >>> Made a bit off a muck up off things when i backed up parts of my >>> /home/mark directory to /mnt/deer >>> In /mnt/deer i know have hundreds of files and folders which i >>> rsy

Re: command to mv files & folders to dir

2011-09-24 Thread Andrew McGlashan
Mark Panen wrote: Made a bit off a muck up off things when i backed up parts of my /home/mark directory to /mnt/deer In /mnt/deer i know have hundreds of files and folders which i rsynced on 22/09/2011. I need a command line option to put them all In one shot in /mnt/deer/zebra. (cd /mnt/deer

Re: command to mv files & folders to dir

2011-09-24 Thread Mark Panen
On Sat, Sep 24, 2011 at 11:53 AM, Ivan Shmakov wrote: >> Mark Panen writes: > >  > Made a bit off a muck up off things when i backed up parts of my >  > /home/mark directory to /mnt/deer > >  > In /mnt/deer i know have hundreds of files and folders which i >  > rsynced on 22/09/2011. > >  > I

Re: command to mv files & folders to dir

2011-09-24 Thread Camaleón
On Sat, 24 Sep 2011 17:31:47 +0700, Ivan Shmakov wrote: >> Camaleón writes: On Sat, 24 Sep 2011 11:40:48 > > Not a command line but Midnight Commander is very good for such > > day-to- day tasks. > > Following the suggestion of Victor Wagner (in news:fido7.ru.unix.linux, > I

Re: command to mv files & folders to dir

2011-09-24 Thread Ivan Shmakov
> Camaleón writes: > On Sat, 24 Sep 2011 11:40:48 +0200, Mark Panen wrote: >> Made a bit off a muck up off things when i backed up parts of my >> /home/mark directory to /mnt/deer >> In /mnt/deer i know have hundreds of files and folders which i >> rsynced on 22/09/2011. >> I need

Re: command to mv files & folders to dir

2011-09-24 Thread Camaleón
On Sat, 24 Sep 2011 11:40:48 +0200, Mark Panen wrote: > Made a bit off a muck up off things when i backed up parts of my > /home/mark directory to /mnt/deer > > In /mnt/deer i know have hundreds of files and folders which i rsynced > on 22/09/2011. > > I need a command line option to put them al

Re: command to mv files & folders to dir

2011-09-24 Thread Ivan Shmakov
> Tom Furie writes: > On Sat, Sep 24, 2011 at 11:40:48AM +0200, Mark Panen wrote: >> In /mnt/deer i know have hundreds of files and folders which i >> rsynced on 22/09/2011. >> I need a command line option to put them all In one shot in >> /mnt/deer/zebra. > What's wrong with 'mv /

Re: command to mv files & folders to dir

2011-09-24 Thread Ivan Shmakov
> Mark Panen writes: > Made a bit off a muck up off things when i backed up parts of my > /home/mark directory to /mnt/deer > In /mnt/deer i know have hundreds of files and folders which i > rsynced on 22/09/2011. > I need a command line option to put them all In one shot in > /mnt/de

Re: command to mv files & folders to dir

2011-09-24 Thread Tom Furie
On Sat, Sep 24, 2011 at 11:40:48AM +0200, Mark Panen wrote: > In /mnt/deer i know have hundreds of files and folders which i rsynced > on 22/09/2011. > > I need a command line option to put them all In one shot in /mnt/deer/zebra. What's wrong with 'mv /mnt/deer/* /mnt/deer/zebra'? Sure, it'll c

command to mv files & folders to dir

2011-09-24 Thread Mark Panen
Hi, Made a bit off a muck up off things when i backed up parts of my /home/mark directory to /mnt/deer In /mnt/deer i know have hundreds of files and folders which i rsynced on 22/09/2011. I need a command line option to put them all In one shot in /mnt/deer/zebra. Mark -- To UNSUBSCRIBE, em