Generalize username. Add shebang.

This commit is contained in:
2022-07-21 20:22:24 -04:00
parent 46608ba1bf
commit bb24c51149

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python3
# This is a Python script that automates the management of the Downloads folder # This is a Python script that automates the management of the Downloads folder
# for an organized experience. It will sort images, videos, documents, and ISO # for an organized experience. It will sort images, videos, documents, and ISO
# files on download. # files on download.
@@ -6,9 +7,10 @@
import os import os
src_dir = "/home/jyack/Downloads" user = os.getlogin()
img_dst = "/home/jyack/Pictures/DownloadedImages" src_dir = "/home/" + user + "/Downloads"
vid_dst = "/home/jyack/Videos" img_dst = "/home/" + user + "/Pictures/DownloadedImages"
doc_dst = "/home/jyack/Documents" vid_dst = "/home/" + user + "/Videos"
iso_dst = "/home/jyack/ISOs" doc_dst = "/home/" + user + "/Documents"
iso_dst = "/home/" + user + "/ISOs"