Manipulating hardlinks in Windows using Python

Simple Python scripts to manipulate hardlinks in Windows by using Python. The following functionalities are provided:

  1. Given a full path to a file, find out the hardlinked files associated with the underlying file.
  2. Given a full path to a file and a destination directory, create a hardlink of the file and put it in the destination directory.
  3. Given a source directory and a destination directory, create a hardlinks of all the files in the given directory and place them in the destination directory.

Code can be found at:

https://github.com/Kyaw-Kyaw-Htike/Manipulating-hardlinks-in-Windows-using-Python

 

 

Tags: