this post was submitted on 25 Dec 2023
2 points (100.0% liked)

Zorin OS (Linux)

56 readers
3 users here now

a lemmy community for the zorin os linux distro

founded 2 years ago
MODERATORS
 

I have revived my old laptop with zorin os 17. It's now a emby server with external HDD attached to it. I have qbittorrent on it, which downloads what o want headlessly using mobile client. But I have no way to move files from downloads folders to proper folder (i.e movie, TV ,etc). How do I do this using mobile ? Or even script to move the media to proper folder,?

you are viewing a single comment's thread
view the rest of the comments
[–] BetaDoggo_ 2 points 1 year ago (1 children)

The most basic way to do this would be to enable ssh then use an sftp client on your mobile device. On the laptop run:

sudo systemctl enable sshd && sudo systemctl start sshd

I don't use sftp on mobile so I don't know what the best app for it is but there are a lot of options. Note that moving files without disabling the torrent will mess things up so make sure to do that first.

[–] Alborlin 1 points 1 year ago* (last edited 1 year ago) (1 children)

Thanks for your reply

How do I enable say on laptop? I have app for connecting to server/remote servers , it's a file manager called solid Explorer, that I can use. But once i give this command what will happen? And what is exact command in ssh to move files to folder ?

[–] BetaDoggo_ 1 points 1 year ago

The command I listed will enable ssh on the laptop. This will allow you to connect and move files with a file manager that supports sftp. From what I can tell solid explorer should work.

If you plan to move files directly via ssh you would use mv. A basic example would be the following:

mv file-to-move target-location

You can add multiple files or folders separated by a space. The last location in the command will always be the target. In most cases it will probably be faster and more convenient to use the file manager you already have.