Coder Social home page Coder Social logo

Comments (3)

darkalchemy avatar darkalchemy commented on June 13, 2024 1

Ok, I didn't understand how the alias worked. I removed all references to the alias and it appears to be working now. At least I'm seeing the first step in progress.

Thanks

from pyrosimple.

kannibalox avatar kannibalox commented on June 13, 2024

alias=TRK realpath="$HOME/torrents/rtorrent" is meant to be placeholders for your specific setup. If you leave them as-is, no torrents will match and nothing will happen, as you found out. You may want to try running the commands without the --move-and-set "$HOME/torrents/TRK" at first to ensure it's selecting the torrents you expect.
As an example, if you want to see what the alias and realpath are for all your torrents, you can run rtcontrol -o alias,realpath // to see them, and then add whatever filters you want to narrow it down to the correct subset.

from pyrosimple.

darkalchemy avatar darkalchemy commented on June 13, 2024

I have it right, now. I had to wrap the item.path in quotes and add 'd.' to directory.set. So, it looks like this now:

mkdir -p $HOME/torrents/Ebooks
rtcontrol --to-view=trk-to-move realpath="$HOME/torrents/rtorrent/*" is_complete=yes
rtcontrol --from-view=trk-to-move // --yes \
  --stop \
  --spawn "mv \"{{item.path}}\" $HOME/torrents/Ebooks" \
  --exec "d.directory.set=$HOME/torrents/Ebooks" \
  --flush \
  --start
rtcontrol --modify-view=trk-to-move --alter=remove realpath=$HOME/torrents/Ebooks

This project is awesome, thought I was going to lose pyro tools when I installed fresh on deb12 and python2 just wasn't available.

from pyrosimple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.