Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new ways to sort #62

Closed
mechgod1 opened this issue Jul 3, 2019 · 3 comments
Closed

new ways to sort #62

mechgod1 opened this issue Jul 3, 2019 · 3 comments

Comments

@mechgod1
Copy link

mechgod1 commented Jul 3, 2019

One of my sources is a user's submissions. The downloads are sorted based on the subreddit they were posted to. The ability to sort these into a separate folder would be cool.

For example if my source is u/tom and he posts in subreddits r/gaming and r/math, then his posts would be divided into the two folders gaming and math. Is it feasible to store all of his posts into a separate folder titled tom?

Thanks in advance

@shadowmoose
Copy link
Owner

shadowmoose commented Jul 4, 2019

Yes, RMD can group the files into any directory pattern you would like. You simply have to edit the file output patterns in the settings file. The output patterns support embedding data (such as the author's username, the subreddit, etc) directly into the file path.

In this case, you'd want the file directory path to look something like: /custom_dir_name/[author]/.
The new (upcoming) release will condense the setting's "file_pattern" and "subdir_pattern" into one single pattern, so if you're running unreleased versions, make sure to edit accordingly.

@mechgod1
Copy link
Author

mechgod1 commented Jul 4, 2019

thanks for the help im a noob at this i appreciate it
edit: small correction it should be [author] not [user] fixed it

@shadowmoose
Copy link
Owner

You're correct, it should be [author]. Good catch.

Feel free to ask if you have any more questions, otherwise I'm closing this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants