Skip to content

Instantly share code, notes, and snippets.

View Wohlstand's full-sized avatar
🦊

Vitaly Novichkov Wohlstand

🦊
View GitHub Profile
@Wohlstand
Wohlstand / rescue-file-from-dying-hdd.py
Last active March 29, 2023 03:19
Copy a huge file with an ability to resume the copying after failure (to rescue it from a dying HDD)
#!/usr/bin/python3
# --------------------------------------------------------------------------------
# MIT License
# Copyright (c) 2023 by Vitaly Novichkov "Wohlstand"
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights to