cp folder/subfolder/subsubfolder

Giorgos Keramidas keramida at ceid.upatras.gr
Wed Mar 7 15:42:10 EET 2007


On 2007-03-07 11:00, Nikos Kouvaris <nkoub at chem.demokritos.gr> wrote:
> kalhmera,
> 
> eimai kainoyrgios sto linux
> exw Debian
> 
> 8elw na antigrapsw ton fakelo  books  me tous ypofakelous tou apo to
> /home/nkoub     sto     /home/all
> 
> grafw
> 
> cp   -r   /home/nkoub/books  /home/all
> 
> alla den to kanei
> 
> Pws 8a antigrapzw olo to fakelo me tous ypofakelous tou?

Με cpio(1) σε 'pass through mode':

    if test ! -d /home/all ; then \
      mkdir /home/all ; \
    else true ; fi
    ( cd /home/nkoub ; \
      find books | cpio -p -dmu /home/all )




More information about the Linux-greek-users mailing list