/srv/irclogs.ubuntu.com/2010/12/31/#ubuntu-us-mn.txt

rlaagerTakyoji: Are you looking for something like this:00:39
rlaagerfor file in *.VOB ; do ffmpeg -i "$file" "`echo "$file" | sed "s|\.VOB$|\.flv|"`" ; done00:39
rlaager(That's a little more verbose than is necessary in this particular case, but it illustrates several concepts well.00:40
TakyojiI was suggested the following: for file in *.vob; do ffmpeg -i $file <params> $file.flv; done00:41
rlaagerThat will give you output of FOO.vob.flv00:42
rlaagerAnd 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
rlaagerAnd 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" ; done00:45
rlaagerOr, to use a different syntax: for file in *.VOB ; do ffmpeg -i "$file" "${file/%.vob/.flv}" ; done00:47
TakyojiHow are most web applications packaged for Ubuntu?02:27
TakyojiThe files in a /usr/lib or /usr/bin folder, and then a soft link from the httpd root folder?02:28
tonyyarussoTakyoji: There's no such thing as "the httpd root folder".05:10
TakyojiThen what would be the more correct way of phrasing it?05:11
tonyyarussoYou create a VirtualHost with a DocumentRoot pointing to the location it's installed in.05:13
tonyyarussoGenerally 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
tonyyarussoThen you just need an entry in /etc/apache2/conf.d/ or /etc/apache2/sites-available/ listing it.05:15
rlaagerSome drop things in conf.d to enable themselves at /APP_NAME/. I'm not sure how I feel about that.05:23
tonyyarussoIt's a sane default.05:28
rlaagerI'd much prefer they actually support being installed on multiple virtual hosts.05:29
tonyyarussoWhat makes you think they don't?05:30
rlaagerI've used them.05:31
tonyyarussoALL of them?  ;)05:31
tonyyarusso(Drupal does.  This is my most important data point.)05:31
rlaagerheh, no, just the ones I care about05:31
rlaagerExamples: PHPMyAdmin, Wordpress05:31
tonyyarussoI believe zenphoto does as well.05:31
tonyyarussopssh, stop using child's toys.05:31
tonyyarusso:P05:31
* tonyyarusso trolls05:32
tonyyarussoalso, WordPress totally has a multisite capability - it's just not as elegant as Drupal's.05:32
tonyyarussoSupposedly it's better now.  http://codex.wordpress.org/Create_A_Network05:33
rlaagerI'm talking about the packages anyway.05:33
rlaagerOh, this isn't right anyway.05:33
rlaagerThat assumes they're all under the same administrative control.05:35
tonyyarussoerr, you're not root?05:37
rlaagerI'm root, running a shared hosting webserver for customers.05:39
rlaagerMaybe I'm misunderstanding what they're saying about wildcard hostnames.05:39
Alpha_Clusterhey anyone know if there is a way to control a web browser on one box from another one say via ssh?05:43
tonyyarussoAlpha_Cluster: ssh -X05:46
Alpha_Clusterlol yeah but i want to say show a window on the main screen and then control the web browser from ssh05:47
tonyyarussoVNC?05:47
Alpha_Clusteryeah i was thinking maybe that05:47
Alpha_Clusteri guess i should try and see if it works or if it messes up the flash05:47
TakyojiAnyone favor a specific e-commerce solution?06:41
tonyyarussoas in, setting up a web site to sell things?06:41
tonyyarussoI'd probably use Drupal and ubercart I think06:41
TakyojiYus06:46
drinaneso 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 gnome18:48
drinanewhats that all about18:48
tonyyarussoDefine "see"?19:32
drinaneas in i use the command : ls19:40
drinanenothing comes up19:40
drinanebut 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 visible19:41
drinanemaybe it has to do with , the linux partition and the other partition's different file systems?19:42
tonyyarussoSounds like the partition isn't being mounted on boot, and instead mounted on-demand when you first access it.19:44
drinanehmm interesting, I'll look into that, thanks20:03

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!