Don't know when you might feel the necessity to convert a pdf into a .jpg or a .png file , but in case you have to, then ImageMagick will make this job really easy for you. ImageMagick is a great opensource command line utility for image manipulation.
All, I am facing an issue with julian date conversion..
current command:
Code:
echo `date +%Y%j` `cat -n /home/user/FILENAME.dat |awk '{printf "%08s", $2}'`
The above command is working good. But in the above bolded part, it is converting system date to julian date.
I know that I can convert pdf files to text files one by one like this :
$ pdftotext filename.pdf
But is there a single command that would make that conversion without specifying separate file names so as to convert them all?
I see here, on Wikipedia, that "Wildcards (*), for example $ pdftotext *pdf, for converting multiple files, cannot be used because pdftotext expects only one file name."
I'm relatively new to Bash and am trying to do something that on the surface seemed pretty straightforward - run find over a directory hierarchy to get all of the *.wma files, pipe that output to a command where I convert them to mp3 and save the converted file as .mp3.
Good evening, I'm currently working on a BASH script to convert audio between file formats and I've come across a snag. At the beginning of the script, I'm having the system check to see if any files with the .m4a extension exist in the directory, and if so, it runs the script. If there are no .m4a extensions, it produces an error.
I have some wma file which I would like to convert to mp3. My situation is that the wma files are in different sub directories. I already have a good script which I found online but its problem is that you only can convert wma in current directory. I would like to edit this script, so I can be able to convert my wma files in sub directories too.
A copy of script is below:
Hi,all ! I have a computer playing movie automatically in loop,and I want to know which movie is now playing in this computer and report it to a server. I use bash script to do this. If I use "pe -ef|grep mplayer ........" ,it seems to complex. Is there any easier way to get the name and store it in a parameter like $movie_name ?
Hi, I was given the following instruction to convert an MKV file to AVI (Fedora 14):
mencoder abc.mkv -oac pcm -ovc xvid -xvidencopts bitrate=886 -sub ITC0101.srt -subfont-text-scale 3 -o zzz.avi
When I plug this file into my DVD player the TV plays the audio but no video.
I host a family website where family members can upload videos they take (like school plays, etc...). The problem I have is that the videos are not always in the same format.