Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 901  / 2 Years ago, wed, december 15, 2021, 10:15:19

I want a simple command mv ~/Downloads/*.torrent ~/Torrent-Backup/ to be run everytime the system starts up.



But though the commands works perfectly by itself, scheduling it as startup application does not work.



Please suggest.


More From » 13.10

 Answers
5

When you set a command to be scheduled at startup, you should use full paths, not ~:



sh -c 'mv /home/username/Downloads/*.torrent /home/username/Torrent-Backup/'


Replace username with your user name.


[#28656] Friday, December 17, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
oreera

Total Points: 472
Total Questions: 121
Total Answers: 116

Location: Mayotte
Member since Thu, Dec 17, 2020
3 Years ago
;