Search found 5 matches
- 27 Feb 2015, 16:57
- Forum: Scripting and Automation
- Topic: I can't seem to figure out the regex replace syntax
- Replies: 6
- Views: 5093
Re: I can't seem to figure out the regex replace syntax
You're passing in /\$1\$2 and you probably want to pass in /$1$2 . @see http://docs.oracle.com/javase/8/docs/api/java/util/regex/Matcher.html#replaceAll-java.lang.String- I'm sure you'll get the escaping right through trial and error. Something strange is happening here. It appears as if the ...
- 27 Feb 2015, 13:04
- Forum: Scripting and Automation
- Topic: I can't seem to figure out the regex replace syntax
- Replies: 6
- Views: 5093
Re: I can't seem to figure out the regex replace syntax
So you're on Linux? Writing a shell script? Keep $variables in mind. The shell interpreter will replace $1 $2 etc with arguments which are probably empty thus $1 $2 etc will be empty. You want to pass along the literal $ so you need to escape things even more. :D @see http://www.filebot.net/forums ...
- 25 Feb 2015, 21:28
- Forum: Scripting and Automation
- Topic: I can't seem to figure out the regex replace syntax
- Replies: 6
- Views: 5093
I can't seem to figure out the regex replace syntax
I'm trying to use the replace script to change from having one flat movie directory to subdirectories for each movie. But I can't seem to grok what's happening with the groovy replacement string syntax. I've tried various things but nothing seems to get me there. For example: filebot.sh -script fn ...
- 24 Feb 2015, 19:40
- Forum: Synology NAS & Embedded Linux
- Topic: Where do I get java 8
- Replies: 3
- Views: 6186
Re: Where do I get java 8
Got it from the official website http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Thanks. That got the package to install, but now the java binary doesn't seem to be on the path, so I can't execute it from the command line. I seem to remember seeing something ...
- 24 Feb 2015, 17:25
- Forum: Synology NAS & Embedded Linux
- Topic: Where do I get java 8
- Replies: 3
- Views: 6186
Where do I get java 8
I'm stuck trying to install Java 8 on my DS415play. I tried using the PC Load Letter package after downloading Java SE Embedded, and putting it in the public shared folder, but it tells me that the file format is invalid, the docs on the package are unclear on just what to download, and I've tried a ...