Questions about batch-processing - how to apply the same procedure to a lot of files/objects.

learn more… | top users | synonyms

-1
votes
0answers
19 views

how to convert batch in to bash(.sh) file [closed]

i need a have barch file which consists below code . I need to convert it into .sh file below is the code in batch file. could anyone convert into .sh file. @echo off REM REM use pushd command to ...
0
votes
0answers
31 views

Ape files (Monkey's Audio): How to create them under Xenial?

I have seen plenty of useful information on Ask Ubuntu about how to play Monkey's Audio or APE files. However I would like to: Create these files from a collection of wav files using either command ...
4
votes
1answer
46 views

Free codecs: How to use FFmpeg to convert my mp4s to ogv under Xenial?

I am very attracted to the idea of using completely free codecs. How do I convert my .mp4 files to .ogv using FFmpeg under Xenial Xerus using these free codecs? I am interested in: Converting a ...
5
votes
1answer
71 views

How to extract first 10pages from each pdf files of a folder

I have 90 sub-folders in a folder. Each sub-folder contains pdf files. Total pdf files are nearly 2200. How can I extract page number 3 to 10 from all pdfs? To extract the pages from one pdf, I am ...
4
votes
1answer
28 views

OGG to M4A with extended tags?

So, I have this program that is a game creator and it uses OGG and M4A files. OGG files are used on PC and M4A are used for Mobile exports. The thing is that there's looping information stored in the ...
0
votes
1answer
63 views

Git commit and push via batch file on Ubuntu

Our team have to always submit code on git after their work. And on every PC there are a lot of projects. All system running with Ubuntu OS. So I need some solution for overcome this manually commit ...
10
votes
3answers
758 views

Moving large amount of files (~ 100 000)

I work with folders that contain a lot of files, like 100 000 or even 1 000 000 files per folder. When I try to move the content of a folder into another, my computer always gets stuck. Even when the ...
1
vote
2answers
28 views

Identifying which directory a filename comes from

I have a .txt list of filenames which come from two different directories. They come from a server database and share a single characteristic (database flag), but I really need to know which of the 2 ...
1
vote
2answers
79 views

Converting mp3 with avconv keeping folder structure

I Have a bunch (~31GB) of mp3 files encoded at 320kbps/cbr and I want to convert them all to mp3 320kbps/vbr keeping it's tags and folder structure but in another master path. I Would like to use ...
0
votes
0answers
138 views

Running Windows .bat file on Wine CMD

Can anyone make this batch (.bat) file run on Wine CMD?? http://www39.zippyshare.com/v/edG8msF3/file.html On Windows when i run it normaly it id displaying this text what is good: Voer programmalink ...
0
votes
1answer
91 views

batch “convert” into jpg with nice alpha flatten

I would like to batch resize and convert to jpg a few png files. But some pixels are transparent, and some are half transparent; I would like the transparent ones to be white, and the half-transparent ...
2
votes
2answers
73 views

Scale down image such that it fills a square of 100x100

I want to create thumbnails for all images of a folder. I also want the images to fit in a square of 100x100 pixels. So after scaling the images down, while the smaller side needs to be 100 pixels, ...
4
votes
2answers
203 views

batch add header/footer to pdf files

Is there a command or script that would help me ease the process of adding page numbers to a pdf with hundreds of pages? Thanks.
5
votes
1answer
7k views

Batch convert H.265 mkv to H.264 with ffmpeg to make files compatible for re-encoding

I have H.265 encoded files that are so resource intensive they don't play well and my conversion software (mencoder) doesn't (currently) support the H.265 format. Can I convert them to H.264 in a ...
3
votes
0answers
24 views

How to batch rename linked files [duplicate]

I created and linked 50+ files but now they have in the name Link to xyz So what I want is to remove Link to from the all 50+ files names
0
votes
0answers
60 views

Create a bash file to open several terminals and execute specific command in them

I am trying to run an executable which will ask for two inputs at the beginning of execution. In gnome-terminal I am executing the file. I have created around 48 folders containing this executable, ...
0
votes
0answers
354 views

Master PDF editor - batch remove watermarks

So I will begin from the start: There is one very good PDF editor for Linux called Qoppa PDF studio, which is capable of image OCR etc. etc. (PDF tools which Linux lacks) like paid Adobe Acrobat Pro. ...
1
vote
0answers
143 views

Run konsole script opening php script from python

I've written a python script, which runs, and upon closure I want it to open a shell script, that opens a php script. Python script directory: /home/user/test/a named: python1.py Shell script ...
0
votes
1answer
56 views

How to comment multiple images at once

On Windows I had that nice bar on the bottom with the exif entries that I can't manage to make appear on Ubuntu (I'm on Lubuntu but I've tried Mate and Plasma 5.4 too). I've tried with exiftool: ...
1
vote
0answers
15 views

Split found files to run find -exec commands in parallel [duplicate]

I have a multi-level directory of jpegs that I want to optimise on a semi-regular basis (as things are added). The command I'm using jpegoptim is single-threaded so when I run the following, only one ...
0
votes
1answer
400 views

How to run a batch (.bat) file on Ubuntu using Wine (with complete steps)?

I have this old Windows game with a .bat file which doesn't open with Wine and only opens as a text file. I have browsed through and tried several suggested ways of opening it with Wine console ...
0
votes
2answers
86 views

Delete first part of file names

I have a directory full of files foo_num.txt. I'd like to rename all to num.txt (that is delete the "foo_" part). Can I do this in one line?
1
vote
1answer
126 views

Convert batch pictures in command line

I would like to convert in konsole a great number of picture. I need pictures resized in order to achieve a video. I can do it for one picture, I am satisfied with this command : convert ...
6
votes
1answer
374 views

How to detect files with the same name but different extensions?

I have a directory whose files have extension either .JPG or .NEF and I want to delete the files of the form X.NEF for which X.JPG does not exist in the directory. (X here can be any string.) I don't ...
1
vote
1answer
49 views

Is there a way to feed commands to ubuntu at runtime? [duplicate]

what I want is way to feed commands to Ubuntu at runtime that is to so that i don not have to wait for resources that gets locked to be free for example during during update we get this error ...
3
votes
4answers
398 views

how to move a specific range of files from one directory to another

In my parent directory I have 10000 files, I want to copy or move the files to 4 sub directories subdir1, subdir2, subdir3, subdir4 equally and if possible simultaneously. Is to possible to copy a ...
10
votes
4answers
22k views

How to create multiple files with the Terminal?

I've been learning to program with a really cool introductory book to C and I write off every example and task so I can learn the syntax by heart. I did every file manually until now, but the clicking,...
0
votes
1answer
155 views

How to batch compress folders?

I want to batch compress folders, I want the format to be 7zip and of course I want to preserve the name and get the .7z extension at the end.
1
vote
2answers
339 views

How can I compress multiple pairs of files into separate archives by name?

I've got a couple dozen sets of Audacity project folders and .aup project files whose names are very close, i.e. 10-13-14-data and 10-13-14.aup. I'd like to compress all of these files automatically ...
1
vote
1answer
51 views

How to find out what an action is called in gimp's Batch Image Manipulation?

I want to both zealous crop and remove image transparency for a bunch of files. I know how to start the batch job and I was able to find the action plug-in-zealouscrop for--duh--zeahlous crop. Yet I ...
1
vote
0answers
177 views

Batch export torrent files from KTorrent

To export single torrent file: Right mouse click -> Advanced -> Export Torrent To export n torrent files: ???
3
votes
3answers
335 views

How do I move thousands of files from a list?

So, I have a list of files in a text file. I believe it's about 100,000 files. The files in said list are spread across many directories, have different sizes, filenames, extensions, ages, etc. I am ...
3
votes
1answer
59 views

Concatenate single common PDF to directory of PDF files

I use PDFtk, and the PDF Chain gui. Despite reading the man page and investing time in a variety of web searches, I can't find the answer to this one - I have a directory of PDF files, and I want to ...
7
votes
4answers
7k views

How can I batch convert mkv files to mp4?

At moment I use the single video command of: avconv -i File_name1.mkv -codec copy File_name1.mp4 To change format but I need a method to do this for over 400 videos what would the batch command ...
2
votes
2answers
4k views

Is there something like batch file in Ubuntu? [duplicate]

I have Ubuntu 14.04 installed. I was using Windows until my Windows 7 corrupted. I was learning about batch file (.bat or .cmd). Is there anything alike with it in Ubuntu? If there is what is it?
1
vote
0answers
63 views

how to integrate multiple machines as one system?

As the title. What I wish to get from this is: 1. the four nodes works like only one computer, i.e., one root, one system, one bash, one updates for all machines. 2. once a user is logged in, it is ...
4
votes
2answers
144 views

How can I move the results of a Recoll query to a folder?

I'd like to know if it's possible to send matching files from Recoll (searches words or strings in the content of several files .pdf .doc, etc) into a folder. Thanks!
4
votes
1answer
212 views

Move/Rename a lot of files with specific file size

I recovered a lot of pictures (1000+) from a bad SD Card. All except 75 which seems to be 'broken'. I ran a program to get all the pictures reading at a lower level and I found out I got all the ...
2
votes
1answer
474 views

How do you create a script to batch add repositories and then batch install packages?

I've used Synaptic Package Manager to save markings for all installed packages to a file. Here's a snippet: libmono-system-drawing-design4.0-cil install spotify-client install mono-2.0-service ...
2
votes
1answer
1k views

Recursively copy (and rename) files to their own same directory with another name

This Q and A will cover a very specific yet common case: given many files with the same or similar name each in its own directory, create a copy of each of them in their original directory but with ...
2
votes
0answers
140 views

Batch convert .rar terminal

I need to batch convert a bunch of .rar files to .zip files in a folder. I do not need to extract them they are comics help in .rar form and I want to convert them to .zip so they can be used in ...
0
votes
1answer
501 views

ffmpeg batch convert files

I have a folder that contains audio files, files are in sequence named from 1 to 150 but none of the files have file extension. What I want is to convert them to aac or.mp3 and If I can join them as ...
0
votes
2answers
2k views

It is possible to run a Exe file in RedHat [closed]

I am new to linux. I run the batch file which will execute exe file in automated way. I need to do the same in linux. Kindly give me some idea how to use it. Thanks in advance
1
vote
1answer
356 views

AVConv loop issue with output file names

How can I turn: /media/MediaOne/Movies/Kids/Aladdin.avi /media/MediaOne/Movies/Kids/Incredibles.avi into /media/MediaOne/converted/Aladdin.mp4 /media/MediaOne/converted/Incredibles.mp4 when ...
3
votes
0answers
371 views

How to add printers to Ubuntu en masse

I work at a company with many network printers. We're switching many of our computers to Ubuntu 13.04 and I need to add the printers en masse. I figured the best way to do that was through a script. ...
0
votes
2answers
187 views

Command/App to convert video files [duplicate]

Anyone know how to batch convert multiple video files into smaller sizes?
1
vote
1answer
313 views

piping using ssh without having to relogin for every pipe

I have an ssh connection and I have to send some local files and output to the ssh server. I know I can do this using the following command tar zcf - stuff | ssh user@server 'tar zxf -' I would ...
1
vote
1answer
96 views

How to batch rename

I want to batch rename files I have a folder and in that folder there are files that I want to change name to 1,2,3,4,5,6 etc.. Thank you for your time
0
votes
1answer
165 views

How can I resize 300 image at the same time? [duplicate]

I have a folder, which include ~300 images. I want to resize it to 800px wide in another folder. How can I do that? I have tried some ImageMagick command.
1
vote
0answers
31 views

.sh Help Please. Trying to convert this to .bat [duplicate]

I have a .batch file with switches and parameters how would i run that in a bash file? Any help would be appreciated @echo off title runserver "C:\Program Files\Java\jdk1.7.0_25\bin\java.exe" -...