Skip to content

This utility allows you to replicate the structure of a directory excluding files.

Notifications You must be signed in to change notification settings

gsscoder/cptree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copy Directory Tree Utility 1.1.0.3

This utility allows you to replicate the structure of a directory excluding files. Once replicated in another point, the directory tree can be compressed for backup (and restored anywhere). Some Examples: - download directory - personal folder - directory tree used as database with xml files When used without a target directory, the program lists the content of given directory.

More info on: http://gsscoder.blogspot.com/.

Build:

You can build using VCS2010EE (http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express) or by using NAnt (in both case only two deps are required nunit.framework.dll and Mono.Posix.dll - both included in lib subdirectory).

Unit Tests:

If you build under *nix/Linux OS you may have problems if the nunit.framework.dll version used to build the test version is not the same of the test runner.

Dependencies:

Windows User:

Although Mono.Posix.dll is needed for build process you may not redistribute it in a deployment environment. (For *nix users is already installed in the GAC).

Compatibility:

  • MS .NET Framework Version 2.0+
  • Mono 2.0 Profile+

Licence:

Usage Examples:

  ;;Help, copyright and license info:
    C:\> cptree --help
  ;;List current directory and its content:
    C:\> cptree
  ;;List the specified directory:
    C:\> cptree C:\Temp\SomeDir
  ;;Copy a directory tree:
    C:\> cptree C:\Temp\MyDir C:\Temp\CopyOfMyDir

Comments, bugs and other:

  • CodePlex
  • Giacomo Stelluti Scala
  • gsscoder AT gmail DOT com

About

This utility allows you to replicate the structure of a directory excluding files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages