organize.sh does not have to be inside ~/Downloads, place it elsewhere and hardcode the download folder in the script.
Also, to avoid any errors while creating the target folders you can first perform a check on existence first. You can work with arrays and global path variables.
organize.sh does not have to be inside ~/Downloads, place it elsewhere and hardcode the download folder in the script.
Also, to avoid any errors while creating the target folders you can first perform a check on existence first. You can work with arrays and global path variables.
Good thread though. The main issue with Downloads for me, at least, is the perpetual choice between rubbish and "to keep" files.