[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Kopiere fil-træ struktur men ikke file rne deri - Hvordan?



On 9/2/09, Peter Makholm <sslug@sslug> wrote:
> "Michael Schmidt" <sslug@sslug> writes:
>
>> Findes der er nifty måde til at lave en "tom" kopi af fil-træ strukturen?
>> Altså kopiere alle foldere men ingen filer.
>
> ( cd /src ; find . -type d -exec mkdir -p /dest/{} \; )
>
> //Makholm
>
>
>

Blot til notering, rsync kan også bruges med een komando:

rsync -a --include "*/"   --exclude '*' /src  /dest

-- 
 .''`.   Admir Trakic
: :' :   Debian Gnu/Linux user #99405
`. `'
  `-


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2009-10-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *