Extract only results as output

What is the problem you are having with rclone?

I'm trying to extract results when running an rclone command. For example, when extracting a list of differences between two remote folders to a text file, I'd like to show the progress in the terminal but not have it printed out in the extracted text file. Currently, when using -P, it shows the printed progress in the terminal but also prints it out in the text file when using >> diff.text to extract the results into a text file.

Is it possible to not print this out in the text file but show the progress still?

Run the command 'rclone version' and share the full output of the command.

rclone v1.63.0

  • os/version: Microsoft Windows Server 2022 Datacenter 21H2 (64 bit)
  • os/kernel: 10.0.20348.1787 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.20.5
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Google Drive, Dropbox

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone cryptcheck DBE: HAE: --one-way -P >> diff.txt

The rclone config contents with secrets removed.

[HA]
type = drive
client_id = xx.apps.googleusercontent.com
client_secret = xx
scope = drive
token = {"access_token":"xx","token_type":"Bearer","refresh_token":"1//xx","expiry":"2023-07-11T18:11:06.8264048Z"}
root_folder_id = 0ANXlyGyYf_nkUk9PVA
team_drive = 

[HAE]
type = crypt
remote = HA:E
filename_encryption = standard
directory_name_encryption = true
password = x
password2 = xx


[DB]
type = dropbox
token = {"access_token":"xx","token_type":"bearer","refresh_token":"xx","expiry":"2023-07-11T20:11:18.1798003Z"}

[DBE]
type = crypt
remote = DB:
filename_encoding = base32768
password = xx
password2 = xx

A log from the command with the -vv flag

2023/07/11 17:27:39 DEBUG : rclone: Version "v1.63.0" starting with parameters ["C:\\ProgramData\\chocolatey\\lib\\rclone.portable\\tools\\rclone-v1.63.0-windows-amd64\\rclone.exe" "--config=rclone.conf" "cryptcheck" "DBE:base32" "HAE:" "--one-way" "-vv"]
2023/07/11 17:27:39 DEBUG : Creating backend with remote "DBE:base32"
2023/07/11 17:27:39 DEBUG : Using config file from "C:\\Users\\Administrator\\Desktop\\rclone.conf"
2023/07/11 17:27:39 DEBUG : Creating backend with remote "DB:xx"
2023/07/11 17:27:40 DEBUG : Creating backend with remote "HAE:"
2023/07/11 17:27:40 DEBUG : Creating backend with remote "HA:E"
2023/07/11 17:27:40 INFO  : Using md5 for hash comparisons
2023/07/11 17:27:40 DEBUG : Encrypted drive 'HAE:': Waiting for checks to finish
2023/07/11 17:27:43 DEBUG : Aiden-keefer/.outside: OK
2023/07/11 17:27:44 DEBUG : Aaron/.outside: OK
2023/07/11 17:27:44 DEBUG : Aiden-keefer/recording_05032022_000506.mp4: OK
2023/07/11 17:27:44 DEBUG : Aiden-keefer/recording_04032022_233759.mp4: OK
2023/07/11 17:27:45 DEBUG : Aiden-keefer/recording_04032022_234200.mp4: OK
2023/07/11 17:27:45 DEBUG : Aidan/.outside: OK
2023/07/11 17:27:45 DEBUG : Aidan-keefer/.outside: OK
2023/07/11 17:27:45 DEBUG : Aaron/recording_16062021_112319.mp4: OK
2023/07/11 17:27:45 DEBUG : favorites_2_9_21.html: OK
2023/07/11 17:27:45 DEBUG : 4ndrw/.outside: OK
2023/07/11 17:27:45 DEBUG : Albert/.outside: OK
2023/07/11 17:27:45 DEBUG : Alec/.inside: OK
2023/07/11 17:27:46 DEBUG : Adam Wearne/.outside: OK
2023/07/11 17:27:46 DEBUG : Aidan/recording_19112021_153924.mp4: OK
2023/07/11 17:27:46 DEBUG : Aidan-keefer/recording_05122021_103820.mp4: OK
2023/07/11 17:27:46 DEBUG : Alec/.outside: OK
2023/07/11 17:27:46 DEBUG : Albert/IMG-20180830-WA0008.jpg: OK
2023/07/11 17:27:48 DEBUG : Aaron/recording_16062021_112513.mp4: OK
2023/07/11 17:27:48 DEBUG : 4ndrw/recording_17032022_131252.mp4: OK
2023/07/11 17:27:48 DEBUG : Aidan/recording_19112021_160602.mp4: OK
2023/07/11 17:27:48 DEBUG : ASU/01e94212dda4a9a775ea34070f2df5c87693322.MP4: OK
2023/07/11 17:27:48 DEBUG : Aidan-keefer/recording_05122021_103852.mp4: OK
2023/07/11 17:27:48 DEBUG : Adam Wearne/recording_01032021_212657.mp4: OK
2023/07/11 17:27:49 DEBUG : Aaron/recording_16062021_113134.mp4: OK
2023/07/11 17:27:49 DEBUG : Aaron/recording_16062021_113410.mp4: OK
2023/07/11 17:27:49 DEBUG : Alec/VID_35820102_011141_607.mp4: OK
2023/07/11 17:27:50 DEBUG : Albert/VID_59260710_032602_719.mp4: OK
2023/07/11 17:27:51 DEBUG : Aidan/recording_19112021_162031.mp4: OK
2023/07/11 17:27:51 DEBUG : 4ndrw/recording_17032022_132503.mp4: OK
2023/07/11 17:27:51 DEBUG : ASU/04bb81f7b54864d83aa66c53ee50811f.mp4: OK
2023/07/11 17:27:51 INFO  : Signal received: interrupt
2023/07/11 17:27:51 INFO  : Dropbox root 'xx': Committing uploads - please wait...```

what exactly are you trying to extract?

rclone has flags for that.
rclone cryptcheck DBE: HAE: --one-way --differ=differ.txt --error=error.txt

Oh fr? That's cool. Thanks!

I'm trying to extract the differences between two remotes.

EDIT: That solved it. Thanks!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.