$ ./qbt import --source rtorrent --source-dir ~/rtorrent/session --qbit-dir ~/.local/share/qBittorrent/BT_backup --dry-run
Prepare to backup torrent data before import..
Creating rtorrent backup of directory: /home/user/rtorrent/session to /home/user/qbt_backup/rtorrent_backup_20230410104453.tar.gz ...
could not backup directory: "walking /home/user/rtorrent/session: /home/user/rtorrent/session/rpc.socket: writing: session/rpc.socket: making header: archive/tar: sockets not supported"
Error: walking /home/user/rtorrent/session: /home/user/rtorrent/session/rpc.socket: writing: session/rpc.socket: making header: archive/tar: sockets not supported
Usage:
qbt import [flags]
Flags:
--dry-run Run without doing anything
-h, --help help for import
--qbit-dir string qbit dir (required)
--skip-backup Skip backup before import. Not advised
--source string source client [deluge, rtorrent] (required)
--source-dir string source client state dir (required)
Global Flags:
--config string config file (default is $HOME/.config/qbt/.qbt.toml)
Trying to do an import from rtorrent to qbt:
Seems to work fine with --skip-backup