mirror of
https://github.com/jadonyack/download-manager.git
synced 2026-06-19 04:38:14 -04:00
Generalize username. Add shebang.
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user