rlaager | Takyoji: Are you looking for something like this: | 00:39 |
---|---|---|
rlaager | for file in *.VOB ; do ffmpeg -i "$file" "`echo "$file" | sed "s|\.VOB$|\.flv|"`" ; done | 00:39 |
rlaager | (That's a little more verbose than is necessary in this particular case, but it illustrates several concepts well. | 00:40 |
Takyoji | I was suggested the following: for file in *.vob; do ffmpeg -i $file <params> $file.flv; done | 00:41 |
rlaager | That will give you output of FOO.vob.flv | 00:42 |
rlaager | And since you're not quoting $file, it'll blow up if any of the .vob files have spaces. That may not be relevant in this case, but it's good to form good habits. :) | 00:43 |
rlaager | And actually, I always forget them, but this is a good use case for the built-in string manipulation features of sh: for file in *.VOB ; do ffmpeg -i "$file" "${file%%.vob}.flv" ; done | 00:45 |
rlaager | Or, to use a different syntax: for file in *.VOB ; do ffmpeg -i "$file" "${file/%.vob/.flv}" ; done | 00:47 |
Takyoji | How are most web applications packaged for Ubuntu? | 02:27 |
Takyoji | The files in a /usr/lib or /usr/bin folder, and then a soft link from the httpd root folder? | 02:28 |
tonyyarusso | Takyoji: There's no such thing as "the httpd root folder". | 05:10 |
Takyoji | Then what would be the more correct way of phrasing it? | 05:11 |
tonyyarusso | You create a VirtualHost with a DocumentRoot pointing to the location it's installed in. | 05:13 |
tonyyarusso | Generally a web application is in an interpreted language such as PHP, Python, or Perl, and as such the code is not actually the executable, but should not be changed, and thus belongs in and is packaged to be installed under /usr/share. | 05:14 |
tonyyarusso | Then you just need an entry in /etc/apache2/conf.d/ or /etc/apache2/sites-available/ listing it. | 05:15 |
rlaager | Some drop things in conf.d to enable themselves at /APP_NAME/. I'm not sure how I feel about that. | 05:23 |
tonyyarusso | It's a sane default. | 05:28 |
rlaager | I'd much prefer they actually support being installed on multiple virtual hosts. | 05:29 |
tonyyarusso | What makes you think they don't? | 05:30 |
rlaager | I've used them. | 05:31 |
tonyyarusso | ALL of them? ;) | 05:31 |
tonyyarusso | (Drupal does. This is my most important data point.) | 05:31 |
rlaager | heh, no, just the ones I care about | 05:31 |
rlaager | Examples: PHPMyAdmin, Wordpress | 05:31 |
tonyyarusso | I believe zenphoto does as well. | 05:31 |
tonyyarusso | pssh, stop using child's toys. | 05:31 |
tonyyarusso | :P | 05:31 |
* tonyyarusso trolls | 05:32 | |
tonyyarusso | also, WordPress totally has a multisite capability - it's just not as elegant as Drupal's. | 05:32 |
tonyyarusso | Supposedly it's better now. http://codex.wordpress.org/Create_A_Network | 05:33 |
rlaager | I'm talking about the packages anyway. | 05:33 |
rlaager | Oh, this isn't right anyway. | 05:33 |
rlaager | That assumes they're all under the same administrative control. | 05:35 |
tonyyarusso | err, you're not root? | 05:37 |
rlaager | I'm root, running a shared hosting webserver for customers. | 05:39 |
rlaager | Maybe I'm misunderstanding what they're saying about wildcard hostnames. | 05:39 |
Alpha_Cluster | hey anyone know if there is a way to control a web browser on one box from another one say via ssh? | 05:43 |
tonyyarusso | Alpha_Cluster: ssh -X | 05:46 |
Alpha_Cluster | lol yeah but i want to say show a window on the main screen and then control the web browser from ssh | 05:47 |
tonyyarusso | VNC? | 05:47 |
Alpha_Cluster | yeah i was thinking maybe that | 05:47 |
Alpha_Cluster | i guess i should try and see if it works or if it messes up the flash | 05:47 |
Takyoji | Anyone favor a specific e-commerce solution? | 06:41 |
tonyyarusso | as in, setting up a web site to sell things? | 06:41 |
tonyyarusso | I'd probably use Drupal and ubercart I think | 06:41 |
Takyoji | Yus | 06:46 |
drinane | so i was playing with terminal trying to open a file on a partition other than the main one ( /home or whatever) and it doesn't see it in terminal until I open it in gnome | 18:48 |
drinane | whats that all about | 18:48 |
tonyyarusso | Define "see"? | 19:32 |
drinane | as in i use the command : ls | 19:40 |
drinane | nothing comes up | 19:40 |
drinane | but then after clicking on that partition and looking through it in the gui, and return to the terminal and try the same , ls cd pwd etc. commands it is visible | 19:41 |
drinane | maybe it has to do with , the linux partition and the other partition's different file systems? | 19:42 |
tonyyarusso | Sounds like the partition isn't being mounted on boot, and instead mounted on-demand when you first access it. | 19:44 |
drinane | hmm interesting, I'll look into that, thanks | 20:03 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!