AminetAminet
Search:
84451 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/dir/CTree.lha

Mirror:Random
Showing:m68k-amigaosgeneric
No screenshot available
Short:Create a copy of a tree structure
Author:Hervé Dupont (herve.dpt at free.fr)
Uploader:Hervé Dupont (herve dpt free fr)
Type:util/dir
Version:1.0 (12.05.2002)
Requires:OS1.3+
Architecture:m68k-amigaos
Date:2002-05-16
Download:http://aminet.net/util/dir/CTree.lha - View contents
Readme:http://aminet.net/util/dir/CTree.readme
Downloads:5545

STATUS:   FreeWare

NOTE:     CTree stand for 'Copy Tree' or 'Clone Tree'... :)
          This CLI script create a complete copy of directories with
          sub-directories to another location without copied the files.

                        !! USE AT YOUR OWN RISKS !!

          1) Français
          2) English


1) Voici un petit utilitaire pour créer une copie de vos arborescences
vers une autre destination. La structure complète des répertoires vides
sera créée.

Installation :
   Copiez « CTree » dans un répertoire d'utilisation actif par le système
comme « C: » ou « S: ».
   Vérifiez la présence de l'attribut S (Script) pour vous éviter d'utiliser
la commande Execute devant la commande.

Utilisation :
Syntaxe : CTree <Rep1> <Rep2|->
Rep1 : Chemin de l'arborescence à copier. Ex. : dh0:tvx/celui-ci.
Rep2 : Destination de l'arborescence. Ex. : dh2:ICI/.
Rep2 : -  Mode test. Affichage sans création de l'arborescence.
          le fichier temporaire « tparbrv01 » dans RAM: ne sera pas effacé
          vous permettant de vérifier et ou de modifier à votre
          convenance les chemins crées. Si tout est parfait, re-exécutez
          la commande avec cette fois le chemin de destination ou bien
          utilisez « Execute ram:tparbrv01 » dans un Shell pour exécuter
          le fichier avec les actions ainsi modifiées.

La terminaison « : » ou « / » pour le chemin de destination (Rep2) est
obligatoire !

Merci à Jacques Vanhove pour son aide et ses tests !

Notes :
- Permet la copie de l'arborescence vers une autre partition.
- Supporte les noms composés d'espaces.


2) A little tool to make a copy of original tree directories. Files will
be not copied!

Installation:
   Copy 'CTree' to an active system path like 'C:' or 'S:'.
   Check the S flag is set to avoid more typo writing 'Execute' before
   the CTree command. ;)

How to use:
Template: CTree <Rep1> <Rep2|->
Rep1 : Path from tree to be copied. Eg. : dh0:tvx/this_one.
Rep2 : Where to put copied tree? Eg. : dh2:HERE/.
Rep2 : -  Test mode. display tree list without create it.
          temporary file 'tparbrv01' in 'RAM:' will be not deleted then
          you could if you want to check or modify entries for your
          own convenience.
          Next, re-launch CTree with a destination path or just write
          'Execute ram:tparbrv01' in a Shell to execute the modified
          file.

Ending destination path (Rep2) with « : » or « / » is very important!

Big thanks to Jacques Vanhove for his help and tests he did!

Notes:
- Give a way to copie to another partition.
- support names with spaces.


Contents of util/dir/CTree.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  585    1136  51.5% -lh5- b25e May 12  2002 CTree
[generic]                 1355    2784  48.7% -lh5- ad66 May 12  2002 CTree.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         2 files    1940    3920  49.5%            May 16  2002

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>