mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 18:26:48 +00:00
9 lines
205 B
Python
9 lines
205 B
Python
import os
|
|
|
|
start = int(input("Start from: "))
|
|
end = int(input("End at: "))
|
|
|
|
for i in range(start, end+1):
|
|
print("Deleting: " + str(i))
|
|
os.system("sudo losetup -d /dev/loop" + str(i))
|
|
print("Done!") |