Ubuntu :: Script To Find All *.avi Files And Symbolically Link To Them Not Working Properly

Apr 5, 2011

I'm running uShare on my Linux 10.4.2 box to stream videos from my computer to my Xbox via Wifi. As the Xbox360 can only handle AVI files I'm trying to write a script that traverses through all my media at;

/media/Media/

Looking for AVI's and then linking to them symbolically into a directory called;

/media/Media/Xbox360/

I plan to set the script up as a cron job so it will constantly keep up to date. This is the script so far;

Code:

#!/bin/sh
#Searches through media drive to find .avi files and symbolicly links them to Xbox360 ushare folder
cd /media/Media/
files=$(find . -type f -iname *.avi -exec echo '{}' +)

[code]....

and the only file being created is .DS_Store, I think. One other caveat I've not yet been able to get my head round, is that from time to time I'll convert videos from say MKV using mencoder to AVI's and plonk them in the /media/Media/Xbox360 folder, and so when the script traverses all my media folders I need to get it to not link to files that are already in that /media/Media/Xbox360 folder.

View 9 Replies


ADVERTISEMENT

General :: "file" Command Not Working Properly For UTF8 Files?

Oct 30, 2009

I have some files which are UTF8 and have first line as blank. It shows as data file by "file" command. If I remove the blank line, it shows it as UTF8 text file. I have to choose displayable text files from many files, so I used "file" command.

Note: I do not have permission to attach file. So not able to attach sample file here.

View 5 Replies View Related

OpenSUSE :: Kaffeine Working With Files From A Nas - Can't Find Plug In ?

May 20, 2011

I've just installed a nas on my system. All is ok apart from Kaffeine. It will play the file from the home dir, a usb disc but not for some reason the same file over the network located on a nas. It come up with the following error message:

The connection was configured as a MS Windoze network drive.via dolphin. No problems with compressed,pdf or doc files or copying etc just playing an avi with kaffeine.

View 1 Replies View Related

Ubuntu Servers :: .htaccess Working, Rewrite Not Working Properly?

Apr 25, 2011

I had a problem with apache2 and getting .htaccess working. I have done some things and i believe its working the ErrorDocument command is anyway. I believe there may be some problems with the rewrites though.Im trying to take a urlhttp://localhost/showthread/123and make it display whats on http://localhost/index.php?showthread=123The rewrite rule is Quote:

Options +FollowSymLinks
RewriteEngine on
RewriteRule ^showthread/([^/.]+)/?$ index.php?showthread=$1 [L]

[code]....

View 8 Replies View Related

Ubuntu Networking :: Find D-link DWL-G122 Drivers?

Aug 14, 2010

I was wondering where to find the drivers for my D-link adapter. It says on the box that it has Linux support, what does that mean? I have already used it without any drivers and it works for a bit but after a week or something it doesn't work anymore (it is connected to the network but no download). What should I do? Would installing the drivers solve the problem?

View 3 Replies View Related

Ubuntu :: Link To Application Cannot Find Applications In Home Folder

Jan 27, 2010

I seem to be seeing some weird behavior in kubuntu with KDE 4.3.2 and KDE 4.3.5 for Kubuntu 9.10 32-bit.I have a few programs in my home folder. For instance Eclipse and Mendeley. it seems that when i create a Link to Application does not launch them. Here is how I create the links.

-> I right click and create a new "Link to Application"
-> I click on the Application tab and browse to where the shell script, or executable is.

and when I try to launch them it does not work. The link is using the absolute path. I tried setting the working directory and using a relative path but nothing. If I run the link in a terminal it says "Warning: Could not find" and the application I set. Now this seems to not be a problem for system applications like Kate. If i change the link to launch Kate it works perfectly.

View 1 Replies View Related

OpenSUSE :: 11.3 + Cannot Find Libmysqlclient.a To Link Against C Programs

Dec 29, 2010

Moving stuff from 9.3 to 11.3 I'm running into the problem that I cannot find libmysqlclient.a to link against c programs. mysql-devel provides shared (.so) modules only. Is there a repo providing this or do I have to install mysql-5 from source?

View 3 Replies View Related

OpenSUSE Install :: Download Link To 9 Can't Find It Anywhere?

Feb 10, 2011

Does anyone have a download link to OpenSuse 9? I really need it at work for compiling some native code and I can't find it anywhere.

View 4 Replies View Related

OpenSUSE Install :: Can't Find The Link To Download A Previous Version?

Mar 23, 2010

I know this is a very silly post, however I just can't find the link to download a previous version of Open SUSE.if someone could direct me to a page where I can download the Open SUSE 10.2

View 1 Replies View Related

Software :: Why Doesn't Firefox's Quick Find (/) Work On This Link

Oct 18, 2010

I routinely use Firefox's quick find feature. I press the slash key, /, type what I want to find on the page and it searches as I type. I love it. It's very convenient. But it doesn't work anywhere on this page.

View 5 Replies View Related

Debian :: Configure: Error: Cannot Find The Flags To Link With Boost Date_time

Feb 17, 2011

I'm trying to cross compile something and it requires a recent version of Boost. I'm using squeeze and gnome and my updates are all up to date. I could not get through the 'configure' stage with Boost dev packages from the debian repository, so I went to the Boost web site. I thought the package requires boost 1.44 or later, so I downloaded 1.45.0 from the site and proceeded to build and install it. I think I installed it right, using /usr/local/ as the prefix. Back at my main project, I try to configure my build and I get some of the following text and then the configure stops.

Code:

checking for Boost's header version... 1_45
checking for the toolset name used by Boost for arm-none-linux-gnueabi-g++... configure: WARNING: could not figure out which toolset name to use for arm-none-linux-gnueabi-g++
checking boost/date_time/posix_time/posix_time.hpp usability... yes

[code]....

I cannot get past the 'date_time' thing. Does anyone know what is meant by 'flags to link with Boost date_time' ?

View 2 Replies View Related

Ubuntu :: Firefox --- Send Link Not Working?

Nov 30, 2010

Ubuntu 10.4 -- all updatesFirefox 3.6.12Thunderbird 3.0.10File > Send linkDoes not work. It use to.Is this a known issue with the latest updates?Is there a workaround other than cut & paste?

View 5 Replies View Related

Ubuntu :: Alt+F2 Network Link In Places Not Working

Dec 1, 2010

I'm running ubuntu maverick and i'm having issues with some things.First off, Alt+F2 no longer opens the Run Dialog. I have checked the keyboard shortcuts and settings and re-entered the command but it still doesn't work. I also checked the compiz settings for gnome compatibility. The odd thing is that all of my other Function key shortcuts work, just not Alt+F2 Not sure what else to try.

Next, I am not able to open Network in Places. I click it, then I get a loading icon for half a second then nothing opens. Also, when I click Places > Connect to Server, the only option that I have is custom location. The issue with this is that I used to have several other options like FTP, SSH, Windows Share, etc.

View 1 Replies View Related

Ubuntu :: Vi Not Working Properly?

Dec 21, 2010

Does anyone know why vi text editor would not work. I'm running Ubuntu server with SIP service and apache and when i try to edit config files with vi it gets messy.On the bottom of the screen it would not indicate if I'm in backup mode or not. I won't same changes, and it messes up the layout when you use arrow keys to move between the lines. Also sometimes when I use arrow keys it will insert capital A, B, C or D.

View 5 Replies View Related

Ubuntu :: Can't Get 11.04 Working Properly

Apr 28, 2011

I have a Lenovo W500 ThinkPad. It is running XP on first partition, then Ubuntu. I've tried both 10.10, 11.04 beta 2, and now 11.04 release.With the release I just installed, it seemed OK till reboot-after-install, at which point nothing came up. I rebooted several times and just got errors and kernel panics in the ATI video driver. I also saw a lot of these messages:"udevd[80]: worker [XXX] did not accept message -1 (Connection refused), kill it" URL...

I had download updates on, I'm trying again with a clean install without updates. (Although, I said don't download while installing, and it says it is downloading language packs...?)Now, I also had issues with 10.10, where it would intermittently boot and fail to get video, I'd just be at a tty, and have to reboot and try again. I found it usually got video if I had just booted Windows (XP Pro SP3) beforehand, and not otherwise So what's going on there? Something up with the actual video card? I want to run Gnome anyways, is there a way I can specify that during the install?At any rate, if I can't get 11.04 working properly, I'll have to run 10.10, which I didn't want to do. I'm starting from scratch and wish to start from 11.04 if at all possible.

View 2 Replies View Related

Ubuntu :: 11.04 Not Working Properly?

Apr 29, 2011

So yesterday I upgraded to 11.04 from 10.10 and now when I enter Ubuntu only my background image appears. No files, programs, or anything. It worked right after it rebooted to finish the upgrade but when I turned my computer on this morning I got nothing but background.

View 4 Replies View Related

Ubuntu Networking :: D-Link USB WLAN Adapter Not Working

Jan 12, 2010

I have just installed Ubuntu 9.10 on an Acer TravelMate 290E. I've got internet connection through the Ehternet Cable, but when I plug in the D-Link WLAN USB device, although the system recognises it, it is disconnected. How can I connect the WLAN USB device adn get it to work?

View 5 Replies View Related

Ubuntu Networking :: D-Link Air Wireless Card Is Not Working?

Apr 10, 2010

I have a D-Link Air DWL-520 wireless card on my desktop computer. It runs well with Windows, but doesn't seem to work with Ubuntu. I am using Lucid Beta 2. I have tried googling, but have not come across any clear solutions on how to make it work.

View 1 Replies View Related

Ubuntu Networking :: D-Link DBT-122 Bluetooth Adapter Not Working In 11.04?

May 5, 2011

It worked with 10.10, but in 11.04 only partially. It would show up in Bluetooth Manager, and I was able to pair with my phone. But after that it always failed to connect. Tried lots of things before I spent $10 on another nameless Chinese one and that worked fine immediately.

View 1 Replies View Related

Ubuntu :: Firefox Not Working Properly

Jan 11, 2010

The navigation buttons in firefox are not working and I can not access File, Edit, View, and History pull down menus. This just started today i think. I have 3.5.pre8 and 3.7 installed. both are affected.

Edit: Actually it is a problem with all apps when window is maximized. I cannot access the first 3 or 4 pull down menus or buttons on the tool bar unless the window is not maximized. This happens with konqueror, firefox and Banshee. Have not tested other apps yet.

Edit2: Upper left corner of desktop is also affected. The icons in this part of the screen are not accessible. seems that anything in that region of the screen is dead. just switched from compiz window manager to metacity and there is a black square in the upper left corner of my screen about 2.5"x 2.5".

View 1 Replies View Related

Ubuntu Installation :: APT Is Not Working Properly

Jan 12, 2010

I can't install software in Karmic - just installed the OS and hooked up to the network, but whenever I 'sudo apt-get install <program>' I get: Couldn't find package <program>I've looked at sources.list and can't find any problems. Is there something else I should look at?

View 2 Replies View Related

Ubuntu :: M And S Key Not Working Properly After Upgrade

May 4, 2010

I upgraded two machines to 10.4 TLS. When I press "s" key, system shutdown menu is displayed, and when I press "m" key, message menu is displayed.

View 4 Replies View Related

Ubuntu :: Touch-pad Is Not Working Properly

Oct 11, 2010

upon the upgrade from 10.04 to 10.10, all upgraded nicely, except for my touchpad, which can't right click anymore, I can use the scroll on the side, and the button-trackpad just functions as a left click.I have an HP Pavilion dv6, with a touchpad like that of the HP Envy, click touchpad, with depressing ends on the bottom and middle respectively for left, middle, and right click.

I submitted a bug report on this when it was in beta, is there a solution to this issue? I use my laptop for work, so I would appreciate a fix... or something I could do aside from uninstalling my Operating System and reinstalling the previous version, which would seem to be a hassle.

View 2 Replies View Related

Ubuntu :: Can't Get Java Working Properly ?

Nov 20, 2010

I can't get java applications to run properly in a lot of cases. I've tried completely removing Java and reinstalling it. I've tried removing Iced Tea and OpenJDK and installing Sun Java instead. I've done a complete, clean reinstall of Ubuntu. The symptoms of my problem never seem to change. Minecraft is the best example I can give you. As soon as the game loads (in the web or on the desktop alike) it closes abruptly. This is what's in the log file.

Code:

I'm thinking "C [+0x416] __kernel_vsyscall+0x2" is important somehow. I can't seem to figure out what it means. I've tested this on a friend's laptop using the same (Ubuntu 10.10) and it works fine, no errors. I know other people are running their java fine.

View 1 Replies View Related

Ubuntu :: Empathy MSN Not Working Properly?

Dec 5, 2010

Has anyone else been getting problems with contacts on MSN not receiving any messages?Works fine for google chat though, having to use Emesene for MSN at the moment, quite annoying.Also sometimes messages seem to double up and notifications too.

View 1 Replies View Related

Ubuntu :: Webcam Isn't Working Properly

Dec 28, 2010

i recently installed guvcview on xubuntu and the window just shows up as a black screen with nothing and according to the uvc website my Logitech QuickCam Communicate Deluxe is supported by linux when i start up guvc the webcam's light turns on so i think its working

View 1 Replies View Related

Ubuntu :: Autofs Not Working Properly?

Apr 24, 2011

I managed to configure autofs5 on my Kubuntu 10.10. I want to use autofs to mount my NAS drive, when I am home(most of the time ) and not bother me when I am away. I mount it in /etc/fstab, but suspend and hibernate does not work correctly, when I am not at home. Now I comment the line which mounts the NAS driveI am still not at home, and decided to try to autofs my flash drive Here is my auto.master

Code:
# directory map
/- /etc/auto.direct --timeout=2 --ghost

[code]....

View 4 Replies View Related

Ubuntu :: Rtcwake Not Working Properly?

Apr 25, 2011

In my laptop pc the following command doesn't work properly

Code:
rtcwake -m disk -s 1500
The pc reboots as usal after 1500 sec

[code]....

View 1 Replies View Related

Ubuntu :: Hibernate Is Not Working Properly

Jul 10, 2011

I've installed Ubuntu Natty on my new lenovo laptop, and hibernate isn't working.Problem: When I click hibernate, the computer shuts down ok. When I boot it again, it seems as if hibernate is resuming (I get the blank purple screen), however the computer restarts again, and now boots as if I had shut it down(ie none of the programs are open).Also, programs (such as google chrome) that were open when I hibernated show that the program did not exit normally.

View 5 Replies View Related

Ubuntu Servers :: How To Actually Use .php Files Properly

Sep 1, 2011

I have found a login script I want to use for a website I am making. I have followed the instructions on here but don't know how to actually use the .php files properly. I open the .php file in my browser and it gives me the option of downlaoding it. How do I get it to work? I know you normally need to provide options to a php script, as far as I have seen, but I don't know how to.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved