|
|
@ -21,8 +21,18 @@ def organizeFiles():
|
|
|
|
for key in paths.keys():
|
|
|
|
for key in paths.keys():
|
|
|
|
print(key)
|
|
|
|
print(key)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print("\n1-->Choose Path from above\n2-->Set custom path\n")
|
|
|
|
|
|
|
|
choice = int(input("Enter choice:"))
|
|
|
|
|
|
|
|
if choice == 1:
|
|
|
|
path = paths[input("\nEnter the folder to be organized:")]
|
|
|
|
path = paths[input("\nEnter the folder to be organized:")]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
elif choice == 2:
|
|
|
|
|
|
|
|
path = input("Enter custom path:") + '/'
|
|
|
|
|
|
|
|
print("\n")
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
print("Invalid Choice!")
|
|
|
|
|
|
|
|
return 0
|
|
|
|
|
|
|
|
|
|
|
|
if (path == "C:/"):
|
|
|
|
if (path == "C:/"):
|
|
|
|
print("Cannot make changes to system folder")
|
|
|
|
print("Cannot make changes to system folder")
|
|
|
|
return 0
|
|
|
|
return 0
|
|
|
|