Skip to content

A Windows command line tool to create symbolic links to duplicate files.

License

Notifications You must be signed in to change notification settings

abelzile/directory-content-symlinker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

directory-content-symlinker

directory-content-symlinker is a Windows command line tool that will search two directories (the target and the destination) for duplicate files. For each duplicate file found, a symbolic link will be created in the destination directory pointing to the file in the target directory. The file in the destination directory will be removed (sent to the Recycle Bin).

Example

C:\symlinker -t "C:\keep-these" -d "C:\replace-these-with-symlinks" -s "*.txt|*.doc"

Arguments

-h, --help                 Show this message and exit.
-t, --target=PATH          The PATH to the files symlinks will refer to.
-d, --destination=PATH     The PATH to the files symlinks will be created for.
-s, --searchPattern=VALUE  Pipe (|) delimited list of search patterns used to
                             find files. Each pattern is passed directly to
                             Directory.GetFiles so see docs for that.

Notes

This program uses the mklink command line tool to create symbolic links and will therefore probably have to be run as Administrator.

About

A Windows command line tool to create symbolic links to duplicate files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published