What is the problem you are having with rclone?
I want remote upload download link using my vps. Multiple link will put on txt file call list.txt. so i want know what command should i use?
linux vps
Run the command 'rclone version' and share the full output of the command.
rclone-v1.56.0
Which cloud storage system are you using? (eg Google Drive)
Uptobox
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copyurl "link" uptobox: -a -P
The rclone config contents with secrets removed.
Paste config here
A log from the command with the -vv
flag
Paste log here
rclone copyurl expects a single URL.
You'd want to wrap your text file around a script calling copyurl and loop through.
asdffdsa
(jojothehumanmonkey)
December 26, 2022, 3:41pm
3
this is an example of taking a list of files and run rclone on each file.
rclone lsf $source --files-only --recursive --absolute | xargs -I file rclone copy "$source/file" "$dest"
asdffdsa:
run rclone on each file
what does it mean?
i use see your method before on windows which is
for /f %%u in (lists.txt) do rclone copyurl %%u remote: -a
so i want same command but for linux headless machine
1 Like
asdffdsa
(jojothehumanmonkey)
December 26, 2022, 5:18pm
5
well, i see you have done your research.
here is the equivalent for bash.
cat list.txt | xargs -I item rclone copyurl "item" remote: -a
/bin/sh: 1: Syntax error: "(" unexpected
should i change "item" or what?
asdffdsa
(jojothehumanmonkey)
December 27, 2022, 2:01pm
7
my example, which i tested before posting, does not have a '('
please understand, cannot see into your computer.
need to post the exact command and full output.
copy and paste from the terminal into a new post
rclone cat list.txt | xargs -I item rclone copyurl "item" uptobox: -a -P
it working actually but it has error that u may can explain
it working i mean 1 of 4 link work
test link in list.txt file,only last link work. at the time u test this link its already died so dont worry about it. it working at the time i test it. just get bunch link from rapidleech to test
http://aws.rapidleech.gq/files/Free_YouTube_Download_Premium_v4.3.84.1226_Portable.rar
http://aws.rapidleech.gq/files/Free_YouTube_To_MP3_Converter_Premium_v4.3.84.1226_Portable.rar
http://aws.rapidleech.gq/files/Hunted.The.Demons.Forge.part1.rar
http://aws.rapidleech.gq/files/Lost.Planet.2.part1.rar.001
2022-12-28 03:21:24 ERROR : Attempt 1/3 failed with 1 errors and: parse "http://aws.rapidleech.gq/files/Free_YouTube_Download_Premium_v4.3.84.1226_Portable.rar\r ": net/url: invalid control character in URL
2022-12-28 03:21:24 ERROR : Attempt 2/3 failed with 1 errors and: parse "http://aws.rapidleech.gq/files/Free_YouTube_Download_Premium_v4.3.84.1226_Portable.rar\r ": net/url: invalid control character in URL
2022-12-28 03:21:24 ERROR : Attempt 3/3 failed with 1 errors and: parse "http://aws.rapidleech.gq/files/Free_YouTube_Download_Premium_v4.3.84.1226_Portable.rar\r ": net/url: invalid control character in URL
Transferred: 0 B / 0 B, -,
Errors: 1 (retrying may
Elapsed time: 0.2s
2022/12/28 03:21:24 Failed to copyurl: parse "http://aws.rapidleech.gq/files/Free_YouTube_Download_Premium_v4.3.84.1226_Portable.rar\r ": net/url: invalid control character in URL
2022-12-28 03:21:24 ERROR : Attempt 1/3 failed with 1 errors and: parse "http://aws.rapidleech.gq/files/Free_YouTube_To_MP3_Converter_Premium_v4.3.84.1226_Portable.rar\r ": net/url: invalid control character in URL
2022-12-28 03:21:24 ERROR : Attempt 2/3 failed with 1 errors and: parse "http://aws.rapidleech.gq/files/Free_YouTube_To_MP3_Converter_Premium_v4.3.84.1226_Portable.rar\r ": net/url: invalid control character in URL
2022-12-28 03:21:24 ERROR : Attempt 3/3 failed with 1 errors and: parse "http://aws.rapidleech.gq/files/Free_YouTube_To_MP3_Converter_Premium_v4.3.84.1226_Portable.rar\r ": net/url: invalid control character in URL
Transferred: 0 B / 0 B, -,
Errors: 1 (retrying may
Elapsed time: 0.1s
2022/12/28 03:21:24 Failed to copyurl: parse "http://aws.rapidleech.gq/files/Free_YouTube_To_MP3_Converter_Premium_v4.3.84.1226_Portable.rar\r ": net/url: invalid control character in URL
2022-12-28 03:21:24 ERROR : Attempt 1/3 failed with 1 errors and: parse "http://aws.rapidleech.gq/files/Hunted.The.Demons.Forge.part1.rar\r ": net/url: invalid control character in URL
2022-12-28 03:21:24 ERROR : Attempt 2/3 failed with 1 errors and: parse "http://aws.rapidleech.gq/files/Hunted.The.Demons.Forge.part1.rar\r ": net/url: invalid control character in URL
2022-12-28 03:21:24 ERROR : Attempt 3/3 failed with 1 errors and: parse "http://aws.rapidleech.gq/files/Hunted.The.Demons.Forge.part1.rar\r ": net/url: invalid control character in URL
Transferred: 0 B / 0 B, -,
Errors: 1 (retrying may
Elapsed time: 0.1s
2022/12/28 03:21:24 Failed to copyurl: parse "http://aws.rapidleech.gq/files/Hunted.The.Demons.Forge.part1.rar\r ": net/url: invalid control character in URL
Transferred: 109.719 MiB / 500 MiB,
Transferred: 0 / 1, 0%
Elapsed time: 25.6s
Transferring:
now its working.
possible to make 2 link upload in 1 time in list.txt?in single command?
system
(system)
Closed
January 27, 2023, 11:00pm
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.