Ticket #1857 (new task)

Opened 2 years ago

Last modified 2 years ago

Store complette downloads in `date +%Y-%m-%d` dirs

Reported by: jochar@centrum.sk Owned by: rakshasa
Priority: normal Component: rtorrent
Version: Severity: normal
Keywords: Cc:

Description

Is it possible to store downloaded (complette) files in "daily folders" like /home/user/downlods/date +%Y-%m-%d/

Thanks.

Change History

Changed 2 years ago by anonymous

Or even to create symlinks on creation/modified date?

Changed 2 years ago by anonymous

# in .rtorrent.rc

# custom1 = default dir to move to when finished schedule = watch_directory_1,10,10,"load_start=~/Download/watch_stuff2/*.torrent,d.set_custom1=~/Download/stuff2/"

# On completion, move the torrent to the directory from custom1. on_finished = 1_getdir,"d.set_custom1=$execute_capture=/path/to/script.sh" on_finished = 2_move_complete,"d.set_directory=$d.get_custom1= ;execute=mv,-u,$d.get_base_path=,$d.get_custom1="


and the sh script


#!/bin/bash # script.sh echo -n /path/to/downloads/date +%Y-%m-%d/


remember to chmod +x

Changed 2 years ago by Polprav

Hello from Russia! Can I quote a post in your blog with the link to you?

Note: See TracTickets for help on using tickets.