- pick an
empty
folder and use that for the crypt - copy files into the crypt.
something likerclone copy /storage/emulated/0/helpp public_html: -vv --dry-run
- to see the files in the crypt,
rclone lsd public_html: -vv
I dont understand because /storage/emulated/0/helpp" is the folder with the files.
why i need to create empty folder again and push them into that folder?
~ $ rclone config show public_html: -vv
2023/02/16 14:07:36 DEBUG : rclone: Version "1.61.1-termux" starting with parameters ["rclone" "config" "show" "public_html:" "-vv"]
[public_html]
2023/02/16 14:07:36 DEBUG : Using config file from "/data/data/com.termux/files/home/.config/rclone/rclone.conf"
type = crypt
remote = /storage/emulated/0/helpp
password = *** ENCRYPTED ***
2023/02/16 14:07:36 DEBUG : rclone: Version "1.61.1-termux" finishing with parameters ["rclone" "config" "show" "public_html:" "-vv"]
that is how it works.
"To avoid issues it is best to configure a dedicated path for encrypted content, and access it exclusively through a crypt remote."
so that is not going to work, use a empty folder.
if you want to serve the crypted files.
rclone serve sftp public_html: --user=user --pass=pass --addr=100.73.225.86:2022 -vv
Okay so i need to make an new folder in my phone and open a file manager and move the files from storage/emulated/0/helpp to for example /storage/emulated/0/content then go to android termux
and do rclone copy /storage/emulated/0/helpp public_html: -vv --dry-run
cannot do that, the only way is to copy uncrypted files into the crypt remote using the command i shared.
rclone copy /storage/emulated/0/helpp public_html: -vv --dry-run
and to test rclone ls public_html: -vv
rclone copy /storage/emulated/0/helpp
But this needs to be another folder then /storage/emulated/0/helpp
So i need to do rclone copy /storage/emulated/0/content public_html: -vv --dry-run ?
correct
correct, have to copy files into the crypt
and then to test rclone ls public_html: -vv
~ $ rclone copy /storage/emulated/0/content public_html: -vv --dry-run
2023/02/16 14:40:38 DEBUG : rclone: Version "1.61.1-termux" starting with parameters ["rclone" "copy" "/storage/emulated/0/content" "public_html:" "-vv" "--dry-run"]
2023/02/16 14:40:38 DEBUG : Creating backend with remote "/storage/emulated/0/content"
2023/02/16 14:40:38 DEBUG : Using config file from "/data/data/com.termux/files/home/.config/rclone/rclone.conf"
2023/02/16 14:40:38 DEBUG : Creating backend with remote "public_html:"
2023/02/16 14:40:38 DEBUG : Creating backend with remote "/storage/emulated/0/helpp"
2023/02/16 14:40:38 DEBUG : 7dhkSj: Skipping undecryptable dir name: illegal base32 data at input byte 6
2023/02/16 14:40:38 DEBUG : TheyLoveHerStori.mp4: Skipping undecryptable file name: illegal base32 data at input byte 3
2023/02/16 14:40:38 DEBUG : 20211017_101721_1_1(1).3gp: Skipping undecryptable file name: illegal base32 data at input byte 8
2023/02/16 14:40:38 DEBUG : 2022-02-01_2227600907.mp4: Skipping undecryptable file name: illegal base32 data at input byte 4
2023/02/16 14:40:38 DEBUG : dance with Rizz.mp4: Skipping undecryptable file name: illegal base32 data at input byte 3
2023/02/16 14:40:38 DEBUG : Loose Tank Bouncing in Car.mp4: Skipping undecryptable file name: illegal base32 data at input byte 5
2023/02/16 14:40:38 DEBUG : Hand.webm: Skipping undecryptable file name: illegal base32 data at input byte 8
2023/02/16 14:40:38 DEBUG : Shelf Bounce.webm: Skipping undecryptable file name: illegal base32 data at input byte 2
2023/02/16 14:40:38 DEBUG : Encrypted drive 'public_html:': Waiting for checks to finish
2023/02/16 14:40:38 DEBUG : Encrypted drive 'public_html:': Waiting for transfers to finish
2023/02/16 14:40:38 INFO : There was nothing to transfer
2023/02/16 14:40:38 NOTICE:
Transferred: 0 B / 0 B, -, 0 B/s, ETA -
Elapsed time: 0.1s
2023/02/16 14:40:38 DEBUG : 3 go routines active
~ $
post the redacted config.
~ $ rclone config show public_html: -vv
2023/02/16 15:31:25 DEBUG : rclone: Version "1.61.1-termux" starting with parameters ["rclone" "config" "show" "public_html:" "-vv"]
[public_html]
2023/02/16 15:31:25 DEBUG : Using config file from "/data/data/com.termux/files/home/.config/rclone/rclone.conf"
type = crypt
remote = /storage/emulated/0/helpp
password = *** ENCRYPTED ***
2023/02/16 15:31:25 DEBUG : rclone: Version "1.61.1-termux" finishing with parameters ["rclone" "config" "show" "public_html:" "-vv"]
~ $
as i mentioned, need to change that to an empty
dir, to store the crypted files.
i did the copy thing to the empty dir. do i need to edit the crypt and set the path to that new empty dir?
maybe i miss understood you.
that is correct
~ $ rclone config show public_html: -vv
2023/02/16 15:41:29 DEBUG : rclone: Version "1.61.1-termux" starting with parameters ["rclone" "config" "show" "public_html:" "-vv"]
[public_html]
2023/02/16 15:41:29 DEBUG : Using config file from "/data/data/com.termux/files/home/.config/rclone/rclone.conf"
type = crypt
remote = /storage/emulated/0/content
password = *** ENCRYPTED ***
2023/02/16 15:41:29 DEBUG : rclone: Version "1.61.1-termux" finishing with parameters ["rclone" "config" "show" "public_html:" "-vv"]
~ $
and need to test the remote,
what is the output of rclone ls public_html: -vv
~ $ rclone ls public_html: -vv
2023/02/16 15:49:06 DEBUG : rclone: Version "1.61.1-termux" starting with parameters ["rclone" "ls" "public_html:" "-vv"]
2023/02/16 15:49:06 DEBUG : Creating backend with remote "public_html:"
2023/02/16 15:49:06 DEBUG : Using config file from "/data/data/com.termux/files/home/.config/rclone/rclone.conf"
2023/02/16 15:49:06 DEBUG : Creating backend with remote "/storage/emulated/0/content"
2023/02/16 15:49:06 DEBUG : 2 go routines active
~ $ |
ok, looks good.
now copy a single file into public_html:
and then test with rclone ls public_html: -vv
how to do that? i just know the rclone copy /storage/emulated/0/content public_html: -vv --dry-run
do i need to do another one?
as a test, pick a single file
rclone copy /storage/emulated/0/content/filename public_html: -vv --dry-run