Ubuntu Multimedia :: Removing Upto A Folder From Filepath?
Jul 3, 2010
I'm trying to batch encode some old mpeg2 vids to x264. After much playing around, I've finally found some settings that work across the board in preserving quality. The good news is the converted vids are about half the size.
I'm using handbrake to do this and with over a thousand clips, converting via the gui would be way too time consuming. Naturally CLI is much faster for something like this. I've found all the flags and arguments to pass to handbrake
So, suppose my vids are in ~/MyVideos. I want to store my converted vids in ~/ConvertedVids. The problem is that there is a whole folder hierarchy after ~/MyVideos that goes several levels deep; I want to preserve this. In handbrake, the output file is a parameter like so:
Code:
handbrake_cli -i input_file -o output_file
I know stripping away the filepath upto ~/MyVideos/ should be trivial with awk. I don't know awk and was wondering if someone here could give me the command I need.
View 2 Replies
ADVERTISEMENT
Oct 13, 2010
i have 4 different harddriveparts (i hope that is the correct translation), on my PC, one for the OS (ubuntu) and 3 others for programms and documents for example. But now i need to go in a folder on another part in the console.
The other part has the id E61441A014417519, so i would guess that the order you have to enter would be: "cd mediaE61441A014417519folder" and then i would be "in" the folder, but the console said that there is not even a folder named "E61441A014417519".
View 6 Replies
View Related
May 31, 2011
I know a bunch of commands and I am comfortable using the terminal, I even set a powerpc server but I can't figure out how to remove epiphany on this new computer I'm setting up. I didn't install anything with tasksel. I installed gnome and xorg afterwards... I load it up and 'startx' just fine. then I check around for the programs that were installed. I lik'em gimp, lot's of utilities. gedit. anyway I find epiphany, which I have already established that I dislike, I immediately go to the root terminal (another nice program that comes with gnome) and type apt-get remove epiphany-browser-data the output says it will be deleting gnome... however I have researched and found these are simpy meta packages that don't really matter.... however under the section that states all the packages that will be removed by autoremove there is a huge list... I doubt these packages are safe to remove. how to remove epiphany without removing a huge amount of probably needed software
View 14 Replies
View Related
Mar 9, 2011
I need to do a reinstall (read the details here): http://ubuntuforums.org/showthread.php?t=1703381 but I need to be able to access my home directory which is encrypted. Is there a way to decrypt my home folder, so that I don't get into trouble accessing it later on?
View 9 Replies
View Related
Dec 3, 2009
I have a nightly scheduled script which creates a $vhostname directory under /mnt, mounts a windows box pointing to /mnt/$vhostname then rsyncs (pulls) some files/folders from the mount point. After this, I want to unmount the drive and remove the /mnt/$vhostname directory. Problem is that removing the /mnt/$vhostname directory sometimes ends up deleting all the files on the source! Example of script (stripped out lots of superfluous stuff):
Code:
vHOSTNAME='testhost'
vRSYNCFLAGS='-ahvz --inplace'
/bin/mkdir -p /mnt/${vHOSTNAME}
/usr/bin/rsync ${vRSYNCFLAGS} /mnt/${vHOSTNAME}/KAVSHARE /backups3/${vHOSTNAME}/
/bin/umount -l /mnt/${vHOSTNAME}
/bin/rm -Rf /mnt/${vHOSTNAME}
It seems that my umount line isn't disconnecting the mount, leaving the following line to literally delete all directories, recursively. Is there a way of safely just deleting the directory (ie: mount link) without linux accidentally trashing the whole source?
View 3 Replies
View Related
Sep 16, 2010
I took some videos off a usb flash drive, then went and selected " safely remove usb" and the light continued to blink on the flashdrive, I pulled it out any way, and the root folder turned red... everything seems ok, but how do you know when it's ok to safely remove a usb devise ?
View 3 Replies
View Related
Dec 11, 2009
im running virtual box on an iMAC and when i boot up fedora it only lets me put the display upto 800x600 so its very hard to see and it wont let me select any thing besides like 600x400 or 800x600
View 2 Replies
View Related
Jan 12, 2010
i want to delete some say 10 previous commands in bash shell!
View 3 Replies
View Related
Jul 1, 2010
I need a loop that pulls out the user name into a variable and then pulls out the LastUpdate field into another variable so I can then perform a comparison against the last update field. Requirements are AIX tools including AWK, SED and Perl I am writing a script to check AIX users password expiration dates and if they are within the alerting period (ie. 7 days etc) it will email the user. I will release the full script into the public domain once completed. The text file I want to parse is formatted like:
Code:
colettel:
password = XSON0m4SdIQDw
lastupdate = 1260829398
andrewwa:
[code].....
View 4 Replies
View Related
Mar 4, 2010
I know the basics and have read the Ubuntu Pocket Guide several times and reference it a lot still. I went to the trouble of installing Fuppes onto my system (Ubuntu Server 9.1) and after configuring it and playing around with it I did not get the results I wanted. I soon after found PS3 Media Server which did almost everything I wanted to instantly with no configuration.
But what to do with the fuppes install? I did the following
Code:
sudo apt-get autoremove fuppes
Just for arguement sakes I attempted to run
[Code]....
View 9 Replies
View Related
Feb 27, 2011
what i did was, remove evolution mail from synaptic, what i wanted to do was just remove the indicator applet from the task bar. i read a bunch of bad stuff about removing evolution from synaptic vs just removing the applet.
im worried. did i break anything or put my security at risk. after, i used a command (older) (sudo apt-get install ubuntu-desktop)to install ubuntu desktop. because i thought that it would fix evolution. then i went to synaptic and installed a package called evolution. i rechecked evolution in applications menu. however, i notice that i have both a checkable evolution and two evolution icons. nothing 'seems' broken. im not sure if it ever was. and evolution calender pops up as normal, as does the the installed plain evolution. they both seems to be an exact copy of the other.
all i really wanted to do was remove the indicator applet. did i make a serious mistake. since ive had ubuntu, ive reformatted a lot because i was worried i made a mistake of some kind. however now im into the more "make a mistake and fix it stage' as im pretty happy with my current desktop and have worked hard to customize it. the command, sudo apt-get remove indicator-messages removed the mail icon. i still am worried that i broke something, or put my security at risk. also, now i have two mail icons. evolution mail and calendar, and another just called evolution.
View 1 Replies
View Related
Feb 18, 2010
I met a guy who is going about with a thermal imaging device. He wants to remove the watermark from the images and tells me that the software developed by the company can do this using only the jpeg. Unfortunately it's only available for windows. I'm dubious that this is possible, but I have to admit I'm not extremely well versed in image manipulation. Is it possible to extract the unadulterated image from a copy with the watermark and other data on it?
View 4 Replies
View Related
Feb 26, 2011
I use EasyTAG to edit the tags of my music. I believed I could also use EasyTAG to remove embedded album art, but this is not entirely the case.EasyTAG appears able to remove references to an embedded image so that the image will not appear in audio players and tag editors. However, the image must still exist within the audio file because the file size remains exactly the same. Contrast this with Mp3tag where removing album art also decreases the audio file's size.My question: is this a bug on EasyTAG's part? If so, what Linux program could I use instead?
View 1 Replies
View Related
Sep 19, 2010
I run a server with nginx at the front and apache at the background. Nginx serves as a reverse proxy in here. As there were lots of DOS attacks, I have implemented Deflate-DDOS, APF and Nginx anti-ddos features and the server runs without a problem. Once every month, the load on server increases upto 300 and I receive an email like this :
Subject : Cron <root@server> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm
Content :
find: `/var/lib/php5/sess_0ca40520ac8ecb66090746f90da17516': No such file or directory
find: `/var/lib/php5/sess_3839b0cbf042934183d56ff682c948e0': No such file or directory
find: `/var/lib/php5/sess_dec1ed8ea1f62caf7a42a29b9f82c506': No such file or directory
[code]....
There's more that 100,000 ( I suppose ) lines on this email. I have no idea what the problem is. It seems there's something with the session, but I really don't know what it is.
View 1 Replies
View Related
Sep 16, 2010
I executed the following and after a restart I have no signal in my monitor:
Code:
sudo service gdm stop
sudo apt-get remove --purge nvidia*
How can I fix this?
View 1 Replies
View Related
Jan 10, 2010
Is there any way to have Volume Manager in systray without PA?
View 5 Replies
View Related
Jan 10, 2010
My OS is Ubuntu 9.10 64bit. I have been having problems with audio in several of my applications - all of which were fixed by removing Pulseaudio and installing Esound. After uninstalling pulseaudio, there is now no volume bar in the notification applet on my desktop panel.
In addition to this, my volume keys on my keyboard (Lenovo Y550 Ideapad) no longer work. Is there an application I can install that will put a volume bar back on my notification panel (using Esound)?
View 9 Replies
View Related
Jul 10, 2010
It was recommended to me that I remove pulseaudio and re-install alsa. All the howtos on reinstalling alsa had instructions for re-installing alsa from the source. Is it possible to re-install alsa from the repos? If so what are the necessary packages that I need to install, for a complete re-install of alsa?
View 1 Replies
View Related
Aug 25, 2010
These should be my last pleas for help with regard to Fedora 13. I've been unable to turn off the notifications that appear in the top right corner, despite a decent amount of searching on google. I can't remove any notifications package without removing a bunch of important software along with it. Also, F13 refuses to "Safely Remove" either of my external disks. I have to yank out the usb cord, touching wood each time.
View 5 Replies
View Related
May 2, 2015
I would like to remove it, because typically I don't need to see it all day. Its enough if it shows up when i go to the upper left corner and see all running applications.
I found this: [URL].... but if you add the repo in that article and update apt,the repo fails.
second try(this one works): [URL].... different extension, same goal. but this one works with gnome 3.14.2 allow gnome to change files when firefox asks.
View 0 Replies
View Related
Aug 2, 2011
I want to remove GDM altogether, naturally I tried:
sudo apt-get --purge remove gdm3
But it appears to be taking some lower level gnome libraries down with it. As soon as it's removed, I can no longer start gedit or gnome terminal for example. If either is run from the terminal, I see, "Cannot display" or something along those lines. I end up reinstalling gdm3 and everything works perfectly.I already used update-rc to stop the gdm daemon from booting altogether, I just want to remove it now for a greater sense of cleanliness I guess.
View 5 Replies
View Related
Apr 30, 2010
It all started Tuesday morning. I woke up and turned my computer on. Normally I just leave it on all the time, but I turned it off the previous night for some reason. When I turned it on, everything worked fine for about 10 minutes, until my monitor said "Monitor Working Out of Scan Range." I messed with the settings on the monitor to try and get it back, but to no avail. Restarting would make it work, but for even shorter periods. It eventually would display the manufacturer image (Everex), and then go dead again with the same message.
I thought it was the monitor at first, and got a new one. The new one is a wide screen 18.5 inch Dell IN1910N. The problem persisted, so I knew it wasn't this. I kinda figured it out when I started smelling something burning coming from my computer, and discovered it was the graphics card I installed awhile back. It is the pci ATI X1550, and its fan no longer worked.
So I figured, well, I will just remove it and go back to the onboard video. Doing this worked fine, until I got to the stage where it tried to boot to the Xserver, and then the computer just hangs. No sounds indicate I ever get to a logon screen or anything.
Now, I tried commands like sudo dpkg-configure xserver-xorg, and it asked me a lot of questions about my keyboard, but didn't fix my video. I also tried the "Xfix" option in recovery mode, and it purged all the old fglrx drivers, but that didn't help either.
I am currently using a live CD (I was doing straight command-line for awhile, after I also played hell getting the wireless working). I tried literally coping and pasting the entire contents of the X11 folder over, but that didn't work either (the xorg.conf files were the same anyway). I don't know what to do to get my old partition to boot X correctly.
All the commands I was copying before are not in my terminal now, and I'm not sure exactly what command-line information you need. I know that Openchrome is supposed to run the onboard VIA video, but I don't recall the command that tells me everything about it.
View 5 Replies
View Related
Aug 14, 2010
i have 2 boxes w/ squeeze/gnome. my home one has bigger HDDs (to me anyway), so i can install/trick out for days. my work box however, has a single paltry 12Gb HDD (and no, i can't afford to run out and buy a bigger one).my question is this: can i slim down my gnome install my removing what are to me at work, non-essential apps (evolution, totem, etc)? if you try to remove any of these in synaptic, it says it will ALSO remove gnome altogether.
View 7 Replies
View Related
May 20, 2011
When I open Yast's software management in opensuse 11.4, there's like 400mb of changes it basically forces me to install. For instance, flash player, libre office stuff, gstreamer etc.
I remove these from the download list, but when I go install something like the nvidia driver I need, it still downloads and installs all that other stuff first, whether I remove it from the list or not. It still makes me agree to the flash player terms or it won't install anything.
How can I get all these recommended updates off of there and just install what I want to individually?
View 1 Replies
View Related
May 9, 2015
I've installed Debian GNU/Linux, from a Testing NetInstall ISO, then after setting up the system, I've installed the KDE desktop.Well, I like to have a system with the applications I want, not the applications that the system wants for me, I mean, that's the point of GNU/Linux, isn't?
Thus I want to remove some applications from KDE, let's say KWrite. I know it's a good text editor, but Kate is way better, at least for me, and... I should have the authority to decide what applications I want on my system, I think you got the point.So I installed Kate, and when I try to remove KWrite, APT asks me to remove nothing but this applications: kde-baseapps kde-plasma-desktop.
I don't understand why do KDE forces me to get rid of the entire desktop... when I'm just trying to remove a single application, and a replacement it's already installed.
View 12 Replies
View Related
Feb 18, 2011
I want to remove pulse and install alsa instead but I can't seem to be able to do it. I tried to search for all packages with "pulse" in their names and purging them but it didn't work because aptitude wanted to remove all of the packages that used pulse with along with pulse.
View 2 Replies
View Related
Jul 27, 2011
mozilla-plugin-vlc install tries removing openoffice Running Lenny 5.03.
[Code]...
View 5 Replies
View Related
Jul 11, 2015
I was trying to run a jar file, so after using the "Open With..." context option to bring up "Choose Application", and I opened the "Custom Command Line" tab; I typed "java %f" and set Application name..My problem is that, I was left with an option in the File Properties "Open with:" drop-down box, and more annoyingly, a context menu option above "Open With..." to run .jar files with this useless option I created.
View 2 Replies
View Related
Sep 1, 2011
I'm using 'Adobe Flash plug-in 10.3.183.4ubuntu0.11.04.1', installed from the package repos on kubuntu, and since the last update, it has broken all flash functionality in both rekonq and firefox.I have tried removing and reinstalling the package multiple times, both with and without the browsers open. Can anyone suggest a way to restoring functionality?
View 7 Replies
View Related
Jun 5, 2011
I have a USB disk full of mp3's with the a file structure of Artist/Album Title/Artist - Track Title.mp3 Are there any mass taggers which can apply the folder title to the "Album" field of the individual mp3's?
View 1 Replies
View Related