iyear / tdl

📥 A Telegram toolkit written in Golang
https://docs.iyear.me/tdl
GNU Affero General Public License v3.0
4.46k stars 442 forks source link

[Feat] Upload Default Path #637

Open ar5hil opened 5 months ago

ar5hil commented 5 months ago

Proposal

In the Telegram downloader feature, when utilizing the tdl up -p option to specify a custom path for downloaded files, if this option is not used, the downloader will automatically upload files from the default directory. This functionality simplifies the process for users who prefer not to specify a path each time they download files, allowing for a more seamless and convenient experience. By defaulting to the directory where the downloader is located, users can efficiently manage their downloaded files without the need for manual path input, enhancing the overall user experience.

Background

changing the path in terminal is slow nothing more , and a Major problem when using the same folder for ease, . DS_Store file suddenly popup

Workarounds

use -p and choose a upload folder for your drive and whenever uploading files, dump the files into that folder and if using macos then add an exclusion for . DS_Store files