Skip to content

Instantly share code, notes, and snippets.

View rolicot's full-sized avatar

Pavel Krč rolicot

  • 07:11 (UTC +02:00)
View GitHub Profile
#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''Detects renamed and/or moved files by tracking inodes.
Creates a shell script to replay similar changes. Make sure to use relative
paths if you want to replay changes in a different absolute location. Does not
follow symbolic links. Inode numbers must be identical (do not cross
filesystems)!
'''