Re: command to mv files folders to dir

2011-09-25 Thread Ivan Shmakov
Mark Panen mark.pa...@gmail.com writes: On Sun, Sep 25, 2011 at 12:43 AM, Tom Furie t...@furie.org.uk wrote: On Sat, Sep 24, 2011 at 05:00:47PM +0700, Ivan Shmakov wrote: Tom Furie t...@furie.org.uk writes: What's wrong with 'mv /mnt/deer/* /mnt/deer/zebra'? Sure, it'll complain about

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

2011-09-25 Thread Ivan Shmakov
Mark Panen mark.pa...@gmail.com writes: On Sat, Sep 24, 2011 at 1:12 PM, Ivan Shmakov wrote: Mark Panen mark.pa...@gmail.com 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 --

Re: command to mv files folders to dir

2011-09-25 Thread Ivan Shmakov
---BeginMessage--- 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/$f

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

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,

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

Re: command to mv files folders to dir

2011-09-24 Thread Ivan Shmakov
Mark Panen mark.pa...@gmail.com 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

Re: command to mv files folders to dir

2011-09-24 Thread Ivan Shmakov
Tom Furie t...@furie.org.uk 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 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 all In

Re: command to mv files folders to dir

2011-09-24 Thread Ivan Shmakov
Camaleón noela...@gmail.com 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 17:31:47 +0700, Ivan Shmakov wrote: Camaleón noela...@gmail.com 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,

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 i...@gray.siamics.net wrote: Mark Panen mark.pa...@gmail.com 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  

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

Re: command to mv files folders to dir

2011-09-24 Thread Ivan Shmakov
Mark Panen mark.pa...@gmail.com writes: On Sat, Sep 24, 2011 at 11:53 AM, Ivan Shmakov wrote: Mark Panen mark.pa...@gmail.com 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

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 noela...@gmail.com 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

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 i...@gray.siamics.net wrote: Mark Panen mark.pa...@gmail.com writes: On Sat, Sep 24, 2011 at 11:53 AM, Ivan Shmakov wrote: Mark Panen mark.pa...@gmail.com writes:   Made a bit off a muck up off things when i backed up parts of my   /home/mark

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 t...@furie.org.uk 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

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 t...@furie.org.uk wrote: On Sat, Sep 24, 2011 at 05:00:47PM +0700, Ivan Shmakov wrote: Tom Furie t...@furie.org.uk writes:   What's wrong with 'mv /mnt/deer/* /mnt/deer/zebra'? Sure, it'll   complain about trying to move zebra to itself, but it