Skip to content
/ dircpy Public

A library to recursively copy directories, with some convenience added.

License

Notifications You must be signed in to change notification settings

woelper/dircpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dircpy

Crates.io license Docs Status

Crates.io

Test Linux Test Windows

A cross-platform library to recursively copy directories, with some convenience added.

 use dircpy::*;

 // Most basic example:
 copy_dir("src", "dest");

 // Simple builder example:
CopyBuilder::new("src", "dest")
  .run()
  .unwrap();

 // Copy recursively, only including certain files:
CopyBuilder::new("src", "dest")
  .overwrite_if_newer(true)
  .overwrite_if_size_differs(true)
  .with_include_filter(".txt")
  .with_include_filter(".csv")
  .run()
  .unwrap();
  

About

A library to recursively copy directories, with some convenience added.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published