@ Otje
If you open the file "youtube" or "youtubes" in a text editor - gedit, vim, nano, etc. you can see the line
Code:
python2 /usr/local/bin/youtube-dl.py -f 5 $url | tee /tmp/youtube.txt
that "5" specifies the file format to be downloaded. In other words - you do not need to change the file.
the only thing i have to do afterwards is to give the command:
"chmod 755" or am i wrong?
you first have to go to "/usr/local/bin" , then do a "chmod 755 youtube":
Code:
cd /usr/local/bin
chmod 755 youtube
chmod 755 youtubes
chmod 755 youtube-dl.py
You have to copy the files to there as root, before you do the above:
Code:
su
changeme
mount -t vfat /dev/sda1 /mnt/sda1
cp /mnt/sda1/<the folder where you put the files>/youtube /usr/local/bin
cp /mnt/sda1/<the folder where you put the files>/youtubes /usr/local/bin
cp /mnt/sda1/<the folder where you put the files>/youtube-dl.py /usr/local/bin