Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
1 8
Newest
 Commentator
Impact
~6k people reached

  • 0 posts edited
  • 0 helpful flags
  • 4 votes cast
Jul
13
accepted ln -s removes part of a a file name, filename passed as a var
Jul
13
revised ln -s removes part of a a file name, filename passed as a var
added 88 characters in body
Jul
13
awarded  Commentator
Jul
13
comment ln -s removes part of a a file name, filename passed as a var
Well, I removed the quotes and tried with the code you suggested. I got the exact same result. I added -- too, sadly this did not change anything. The file does not start with dash, it's in the middle of it. I am starting to think it might be a weird kind of bug, even. I will edit the question a bit, and link to the whole script. AVIFILES should not be quoted, it's equal to *.avi, so the script with cycle over all avi files in the dir.
Jul
13
comment ln -s removes part of a a file name, filename passed as a var
The problem is not about spaces at all. Its about dashes. I just tried your version, and I get the same result - the part for the first dash to the consecutive "/" is omitted by ln, while trying to create the link. This part is MISSING,( - Season 3 - DVDRip-REWARD"), while the filename goes on. I think its ln being messed by the "-" in the filename, thats why I tried to add single quotes where ever possible..
Jul
12
comment ln -s removes part of a a file name, filename passed as a var
Can I have an example, please?
Jul
12
comment ln -s removes part of a a file name, filename passed as a var
Well, they are defined, thats just not the whole script, thats the relevant part. They expand correctly, when echoed, but not when passed to the ln command. I added all the quotes so I can have the correct file name and path passed to ln , but not working
Jul
12
asked ln -s removes part of a a file name, filename passed as a var
Dec
15
awarded  Popular Question
Sep
24
awarded  Autobiographer
May
29
awarded  Notable Question
Dec
27
comment Wifi works in local, no internet connection. Debain 7
The router was blocking out this PC by MAC address. I am the only one round here who could have done it, this must have been done a long time ago for a forgotten reason (I use seldom this PC very rarely, for testing only). Sorry
Dec
27
accepted Wifi works in local, no internet connection. Debain 7
Dec
22
awarded  Student
Dec
22
comment Wifi works in local, no internet connection. Debain 7
I updated my question
Dec
22
comment Wifi works in local, no internet connection. Debain 7
I probably deleted by accident one of the answers, is this possible?!?!? Weird day today!
Dec
22
revised Wifi works in local, no internet connection. Debain 7
Added new info.
Dec
22
asked Wifi works in local, no internet connection. Debain 7
May
16
awarded  Popular Question
Mar
5
comment How to use wget or other tool to download a file, for which the link is hidden(activates on-click only)
Thank you :) I was confused, that is right. I supposed there was something happening when I click the download button, hence my onclick assumption.. Thank you for clearing this out for me.