Ubuntu :: Why Batch Does Not Always Work

May 28, 2010

I was trying to understand "batch" command, and I thought perhaps when I am logged in a terminal, in addition to X, there are multiple users, and man page says it is not suitable for multiple users. But then, you could never use batch in a terminal? So not sure... take a look, at first it works, then it does not. In this example, I am trying to use "batch" to make (touch) a new file. And the load is always very low.

[Code]...

View 4 Replies


ADVERTISEMENT

OpenSUSE Multimedia :: 11.2 - Batch Of Codecs To Work With MKV Files

Jan 25, 2010

System - openSUSE 11.2 "Emerald" KDE (with gnome base)
Player - vlc
I'm hoping to find a batch of codecs for my newly installed openSUSE OS. I have a very troublesome collection of .mkv files that took several codec packs to make them work. For a brief explanation, I had tried haali and matroska both together and they still didn't work on certain mkvs. I ended up using CCCP, but that's win only as far as I can tell. It took the latest update of CCCP to work on all of my mkvs.

View 4 Replies View Related

OpenSUSE :: Batch Resizing Applications - Nautilus Image - Phatch Didn't Work

Jun 1, 2010

I am looking for image batch processing (mainly resizing) apps. As I have problems with Nautilus Image Resize in the other thread, are there any other software that is fairly easy to use to batch resize images? Preferably from a one-click install that works. I tried Phatch, but that didn't work for me.

View 9 Replies View Related

General :: Batch - Way To Save "work Sessions"

May 18, 2010

I regularly work on different projects, using different software.

For project 1 I need to open for ex : Filezilla, Gedit and Nautilus (set to a specific folder)

For project 2 I need to open foz ex : Gimp, Nautilus (set to another specific folder) etc.

What I would like is a kind of sessions manager, where I could create entries "project 1", "project 2", etc.

And with one click or command, open all the softwares I need.

Perhaps there's an easy way to write a batch file for this?

View 2 Replies View Related

General :: Convert Batch File Into A .sh File Will Not Work

Sep 16, 2010

I am trying to convert my batch file into a .sh file and i think i have it perfect but it just will not work, so obviously not perfect. This is the code for my batch file.

[Code]....

This works perfectly on my own computer without any problems. I want to host this on my Linux VPS (CentOS 5) and need it to be converted into run.sh. This is the code for my run.sh.

[Code]....

View 9 Replies View Related

Ubuntu :: Run A .batch File?

Jul 31, 2010

I am trying to run a .batch file, I was wondering if this edit would make it work, this is a java application-loader.

Code:
#bin/bash
java -Xmx500m -cp .;Theme.jar Gui 0 1 lowmem members 32
pause

View 2 Replies View Related

Ubuntu :: Batch Convert Mp3 To Ogg?

Oct 5, 2010

Is there some way of recursively batch converting mp3s into oggs while keeping the same directory structure?

View 8 Replies View Related

Ubuntu :: How To Run Batch Files?

Oct 19, 2010

I recently installed JDK 6 runtime using apt-get install in terminal. I downloaded a .jar file and attempted to run it but I got an error telling me it has blocked the file for some reason.Another thing was, how can I run batch files? I know ubuntu doesn't come with something like MS DOS but is there anything similar that I can run batch files with?

View 3 Replies View Related

Ubuntu :: How To Make A Batch File

Feb 16, 2010

I want to quickly get to the Root directly (or whatever it's called).This is how I do it now; (the text in bold is what the computer spits out)

me@me-desktop:~$ sudo -s
[sudo] password for me: (then I enter my password)
root@me -desktop:~#

I'd like to just type one the new of the batch file and then hit enter. The batch file would then do the rest.

View 9 Replies View Related

Ubuntu :: Compile Batch Files In Dos?

Nov 9, 2010

Is it possible?I am mainly looking for A shell script or program that can convert a Batch (.BAT) file into a Windows executable (.EXE), or
A program that can be run from MS-DOS that can turn a batch into an exe.

View 3 Replies View Related

Ubuntu :: How To Batch Rename Directories

Dec 6, 2010

I have several folders:
Archive_001
Archive_002
Archive_003
etc.

Is there any command to batch rename these directories to:
NewArchive_001
NewArchive_002
NewArchive_003

View 2 Replies View Related

Ubuntu :: Last Batch Of Updates Broke Installation

Jan 10, 2010

Ubuntu was working fine and everything. I get a notice that there were updates available so I tell Update Manager to update. It wanted a reboot after everything was successfully installed. So I press reboot and this is what I get from now on. How can I fix whatever the updates destroyed?

View 7 Replies View Related

Ubuntu :: Any Way To Batch Convert Recursively Using PS2PNG?

Jan 15, 2010

Is there a way to batch convert recursively using ps2png?

View 4 Replies View Related

Ubuntu :: Shift Command In Little Batch File?

Feb 11, 2010

I want to be able to enter multiple filenames after this bash file on the command line--- file1.rm, file2.rm by putting a shift command in this file?Or even better, for this bash file to take a line by line pipe from a text file. Excuse my atechnicalness.

file: rm2avi.sh:
#!/bin/bash
cd /media/212EXT/data/download/convert

[code]....

View 9 Replies View Related

Ubuntu Multimedia :: FFMPEG - FLV To MP3 Batch Convert

Mar 15, 2010

I have a file with about 6 .flv files and I wish to batch convert them to libmp3lame. I have tried making a #!bin/bash script with all the files in e.g.

Code:
ffmpeg -i filename.flv -sameq -acodec libmp3lame -f asf filename.mp3

I have inserted all the filenames individually into the script but when I ran it I got too many errors and i was wondering if someone knew a quicker way to do it e.g. a script that would batch convert all .flv files in that folder to .mp3 format.

View 8 Replies View Related

Ubuntu :: Create A Batch File To Run At Startup?

Apr 9, 2010

I am use to microsoft products. In microsoft windows, I can make a batch file that says to delete a file on the desktop during startup. would like to create a "batch file" or command that runs at logon in Ubuntu. An example:f I wanted to delete a certain file on the desktop called "new.pdf" everytime I logon,Could I make some kind of file the has the commands "rm new.pdf" in it and run it as a file during login?

View 5 Replies View Related

Ubuntu :: Using GIMP Command To Process Batch?

Dec 24, 2010

I don't know if it's possible but GIMP is able to receive command line arguments, so why not? Basically, I want to create a batch (action, macro or what it may be called) and then set up a cron job which will run every hour. So, it would be something like "If an image is in X folder, then resize, watermark & move it to Y folder".

View 2 Replies View Related

Ubuntu Multimedia :: How To Batch Convert Files To .flv?

Apr 16, 2011

So I have a php script that is setup to stream flash video (.flv) and I absolutely love having it. The problem is that any files I want to stream have to be in .flv format for it to work properly as .avi and others obviously don't stream well. Up until now, I've used FFMpeg to change the format from .avi to .flv, however the process takes a lot of time if you have a lot of videos, added to that you have to do one file at a time definitely makes it a pain.Does anyone know of a bash script that can take all the files (i.e. avi, .wmv, .mkv, .mpeg4) in one folder and automatically convert it to .flv? Then possibly delete the old files? Low resolution is fine, so long as it at least viewable. Does anyone have a script or know of a program that can do this (I run Ubuntu 10.04). I think FFMpeg has the best chance of doing this, but I don't know the syntax to actually do so.

I've searched the internet, and while I have found a few scripts, they didn't work for me (still looking into two scripts I found.I am currently messing with them to see if I can get them to work).It would be immensely helpful if someone knew of a way to do this.I also forget to mention that I have used Winff, but I was looking more for a bash script to do this so that I can set a cron job to convert them every hour or so.

View 4 Replies View Related

Ubuntu :: Image Batch Conversion For Publishing?

May 27, 2011

I have a LaTeX document in one folder, and the images that this documents includes via

Code:
includegraphics{filename}

are in subfolders of this directory. Sometimes I compile this LaTeX file using PDFLaTeX, and others using plain LaTeX. Thus, I would like to have my images in PDF and EPS format, along with its original source, normally an SVG file created with Inkscape. I know I can use Inkscape to convert these files to these formats, but when there are 50 images, it becomes cumbersome/boring/APITA.

I have a small Makefile that reads gnuplot scripts and generates EPS files

Code:
# Makefile to convert into Encapsulated Postscript
# the plots made with GNU Plot. (.plt files)
.PHONY=eps,clean
PLOTS=$(shell ls *.plt 2> /dev/null)

[Code].....

View 2 Replies View Related

Ubuntu :: Creating Customization Batch Script - GUI Interface

Feb 6, 2010

I've used Fedora 11 and 12, and I found autoten which automatically installs a lot of necessary software and provides an easy GUI interface to do so. I switched to Ubuntu Karmic recently and now I'm working on customizing all the bugs that come with my computer. So far, I've fixed compiz-fusion, the sound problem with ALSA, as well as customizing the theme to the way I like it (by fixed I don't mean it was a reported Launchpad bug, but just that I customized it to my liking or it wasn't previously working on my laptop and it is working now).

So my question is, am I able to (even though my knowledge is limited), able to make some sort of batch script that will automatically apply the changes I wish every time I update my kernel? Or, just for simplicity's sake, I may stay with 9.10 for a while and have this script to apply my changes if/when I have to uninstall/reinstall. I know it's fairly simple to make a batch file in Windows, so I'm hoping it will be just as easy in Linux. (I know, comparing apples to oranges).

View 4 Replies View Related

Ubuntu :: Batch Change Music Metadata Tags?

May 21, 2010

I`ve got this which renames everything from uppercase to lower case.

Code:
#!/bin/bash
for f in *; do

[code]....

View 1 Replies View Related

Ubuntu :: Batch Image Resize Resample Program?

Jul 5, 2010

anyone know of a batch image resize resample program ? kinda like VSO or Infranview for linux ?

View 2 Replies View Related

Ubuntu :: Understanding Roles Of Commands: At - Batch And Anacron

Nov 19, 2010

I'm trying to understand the role of the at command. Does cron use at to run its jobs? Or is at, and batch for that matter, a separate cue that is only stored while the computer is on. As for anacron, anacron on runs once a day and is geared for a computer that is turned of frequently, as opposed to a server when it is on all the time. I've already man'ed these commands, and googled. I'm just trying to understand more how they work.

View 2 Replies View Related

Ubuntu :: Gimp Batch Mode - Closing Images When Done With Them?

Jan 4, 2011

I need to close images I work with when I'm done with them. As an example scenario, I can open several images and work on them, but every time I open them they create new instances in gimp, meaning the gimp could in the end be using several gigs of ram for images I can't even see are there.Also, I can't start gimp for batch only (Using 2.7 dev version)Code:$ gimp -i -b "(script-fu-thing 1)"This is a development version of GIMP. Debug messages may appear here.(gimp:11407): Gimp-Core-CRITICAL **: gimp_viewable_get_stock_id: assertion `GIMP_IS_VIEWABLE (viewable)' failedgimp: fatal error: Segmentation fault

View 1 Replies View Related

Ubuntu :: Script To Batch Convert Video In Handbrake?

Feb 21, 2011

I've looked everywhere I could but I must be blind. I have Ubuntu 10.04 Server and I'm trying to batch convert .avi to .m4v in folders and subfolders. I can't seem to find a script to do that.

View 1 Replies View Related

Ubuntu Multimedia :: Batch Extraction Of Subtitles From Mkv Files?

Jul 16, 2011

I have recently been tasked to extract the subtitles from a lot of mkv files. Hundreds of them, maybe even more than a thousand. To do this, I modified a script I found online:

#!/bin/bash
IFS="|"
if test -z $1; then

[Code].....

So in the above example the subtitle is actually in track number one and my script would be borked for that particular file. Is there a way to integrate mkvinfo into the script and parse it to see what track should be extracted? Like, read it line-by-line and change the value of some #TRACKNO variable everytime a string like "| + Track number:" appears, and stop when a string like "| + Track type: subtitles" appears? Maybe even skip doing anything if there aren't any subtitles.

PS: I actually prefer SRT subtitles to ***. If there was some command line tool I could use to convert the resulting *** file to SRT I would be much obliged.

View 2 Replies View Related

Ubuntu Multimedia :: Recommend Good Id3tag Batch?

Sep 1, 2011

I am missing in my natty some good tool to operate on id3 tags of my mp3. - Could you recommend one that you are/were using ? I don't use Rhythmbox or Banshee and need other, an "external" tool. Alternatively, it could be plugin for Audacious (v2.5) but it needs to have at least elements of batch processing as I have large and messy and hairy and greasy music collection to be sorted out

View 1 Replies View Related

Ubuntu :: Windows Equivalent - Logon Batch Scripts?

Sep 5, 2010

I have a logon script set in the startup folder "All Users > Startup > logon.bat" and it nicely mounts network drives from a Windows Server 2003 computer. The script is as follows:

<logon.txt (.bat) attachment>

Very simple. Now what I need to know:

- What is a batch equivalent and what commands will I need?

- Where is/how do I use the equivalent to Startup folder

- Can I get it to mount in the Computer folder or will it be mounted through root ("/") or can I have it easily accessible (maybe the Desktop)?

- Is there a way I can get the equivalent to the Windows password vault (remember passwords for certain addresses) and;

- If not, can I get the script to request Username and Password from the user for the mapping?

- Can I write to the folders if the user has permissions to write (had trouble with smbmount doing this)

View 3 Replies View Related

Ubuntu :: Adding Multiple Users Using Batch File?

Oct 26, 2010

Idealy I want to create a batch file which would read the list and create a user and a password.

I know i need to create the file using the vi command and using the useradd facility to add the users however where i go from there i am lost.

View 5 Replies View Related

Debian :: Batch Print From CLI?

Feb 25, 2011

I've search the web, but didn't find anything specific to what I'm trying to do. Is it possible to batch print all files in a directory from the CLI? I'm sure it is, I just haven't found the right package. It can be done with OpenOffice, but the files are all PDFs.

View 3 Replies View Related







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