General :: Stuck On Converting Extensions Tar.gz To .tgz
Jan 18, 2010
I understand that .tar.gz and .tgz are equivalent to each other.
I did some checking as alway online. I am however stuck how to you make files with a tar.gz extenstion become .tgz. In the case of it being a compressed file is there a right and wrong way of doing this.
it seems that I always encounter things slightly off the beaten path, against my less then optimal knowledge of the man pages.
View 3 Replies
ADVERTISEMENT
Dec 28, 2010
I have a directory of a load of files without extensions. I know what the filetype should be, so is there any way of batch renaming the files to append a given extension onto it. i.e. text would be renamed as text.txt?
View 3 Replies
View Related
Sep 1, 2011
I have some directories with a varying numbers of files and subdirectories. All files that have no extensions have to be tared. Their names may change, thus they can not be hardcoded. Subdirectories may also contain a unspecified number of files and subdirectories that are not relevant and should not be included in the archive.
I'd like to be able to do this with a single line, not using any .sh scripts, so that this process could be reproduced as portably as possible.
Sample directory structure:
$ ls -1F
bar-dir/
bar.with.dots
foo-directory/
foo-no-ext
[Code].....
View 2 Replies
View Related
Jul 19, 2009
I was watching a friend of mine install PHP on SuSE with YaST, and it appeared as though he was able to select the various extensions he wanted compiled into PHP for installation. I didn't know this was possible, I thought you pretty much had to take whatever extensions whoever built the package decided to include. Is it possible with CentOS to install PHP with a custom selection of extensions?
View 4 Replies
View Related
May 30, 2010
how to delete only files which have no extensions in the directories. but other files should exist.
View 12 Replies
View Related
Feb 11, 2010
GNU/Linux kernel 2.6, Slackware. VIM - Vi IMproved 7.1 Huge version without GUI. When I quit an editing sesion vim creates a backup file with the same name as that of the edited file but with a '~' appended. I would like the name for the backup file to be the following: same base name as that of the edited file and edited file extension replaced by 'bak'. Example:
Input file//////////////backup file after editing
----------//////////////-------------------------
foo.txt/////////////////foo.txt~
foo.txt/////////////////foo.bak
The first line corresponds to what vim now does. The second one is what I want vim to do.
View 12 Replies
View Related
Dec 24, 2010
I've been looking for info about Legacy OS but havent found much. I installed it and all works great except there are no active wireless extensions.My laptop have an internal wifi adapter (bcm43xx) I tried to load that driver using legacy OS network wizard but didnt work, the other is a external wireless card with a rtl8187 driver, this last one is the one I want to be up. I also tried to use ndiswrapper but can't set it up either.
View 1 Replies
View Related
Feb 14, 2010
I have working apache/php/mysql on my Gentoo server. But I have to enable some extensions in php (json, exif).
I did: USE="dev-lang/php json exif" emerge dev-lang/php
View 1 Replies
View Related
Jul 27, 2011
I'm wondering how I'd be able to symlink all the files in a dir structure and then also copy files of a certain extension in that dir. I'm basically symlinking all files within /foo/a,b,c to /bar/a,b,c and then copying over certain files with a certain extensions.
View 1 Replies
View Related
Aug 28, 2010
Just bought a netbook, ASUS Eee PC 1001PX, and got rid of the crappy XP pre-installed. first i put netbook remix on it, and tried many downloads and ndiswrapper to fix the wireless problem. then i went ahead and put another form of ubuntu on it thinking it might have the right drivers need to use the built-in wireless card, nothing. i dl all updates and bug fixes. i went to atheros to download the only driver they have for linux in the AR8132 class but still not helping. although i am not sure if i even installed. once dl it only extracted itself. i couldnt figure out how to run. if someone has this type of netbook it would be awesome. everything works on it except wireless and headphone jack. i know its just cosmetics but it would be nice if all hardware worked.
View 1 Replies
View Related
May 18, 2010
Suppose I have a variable called filename which contains the name of a file but the name does not contain an extension.
View 4 Replies
View Related
Sep 21, 2010
I'm trying to convert all file extensions for files in many sub-directories from uppercase to lowercase. I have two problems, how to list the absolute path to the files recursively over many sub-directories for which I so far have this:-
Code:
find ~/Photos -print which would be fine, except it gives the directories on their own when it finds them rather than just the files with absolute paths. I couldn't find a switch for the "ls" command to do this, so I had to improvise with "find". and once I get grab each absolute file name, to just change the file extension rather than the entire file, which is what I have at the moment.
[Code]..
View 7 Replies
View Related
Jul 11, 2011
I have a deep folder structure on my RHEL 5.x file system which is supposed to have only word(*.doc, *.docx) or pdf(*.pdf) files. But I want to check if there are files with any other extensions which exist. Is that possible?
View 2 Replies
View Related
Sep 19, 2011
I try to convert a doc file to a pdf file with the linux bash. I tried different ways like jodconverter, ghostscript, postscript and so on, but all didn't work as espected. Additionally I can say that I have only the bash.
View 1 Replies
View Related
Mar 16, 2011
i want to convert kb to mb and i'm wanted to use bash. if i use
"cat /proc/meminfo | grep MemTotal"
will only display in kb and i want to display it in mb.. and i want it to display like this
MemTotal : 250 mb
View 5 Replies
View Related
Jul 12, 2011
I've mostly mp4/flv media files,i need to convert them to mp3 to put in my mp3 player but at the same time i like to adjust the mp3 bitrate to save space and maintain quality sometimes. How do i actually do that in Linux. Is there any GUI program that performs the job for me quickly ?
View 14 Replies
View Related
Jan 14, 2011
How to convert a user written script into a service in linux?
View 1 Replies
View Related
Dec 19, 2010
I couldn't really decide where this should be posted, but this is the most general of the forums. Anyway, I've been playing a wargame on intruded.net in which some of the challenges require me to pass hexvalues into the programs as character values. All is well with this, and usually I would use the shell to pass it in, but most of these programs use the gets() method to get my input.
Here comes the problem... The other day I was using my desktop which runs slackware 64 13.1 to do these challenges. My method was to use "echo -e 'xefxbexadxde'" to print them to the shell's standard output and then highlight and copy the resulting values to paste to the program. This works just fine on slackware, but when I repeated the same processes on Ubuntu 64 10.04 (which runs on my laptop) the 'xde' always turns up to be 'x00'. Then I tried some other levels with similar responses, not all the hex values convert to the correct ASCII characters.
View 2 Replies
View Related
May 13, 2011
converting the ntfs to ext3.
View 9 Replies
View Related
Aug 10, 2010
I am an activist. I am becoming concerned with security on line because I have posted videos exposing SERIOUS corruption within the government at all levels. With all the recent claims of executive authority in the name of cyber security and govt eavesdropping I am interested in finding a more secure op sys. Windows is to vulnerable. I have an HP7845 Sound Blaster 64 Sound card. Radeon 9800 video card. I have a large volume of videos and media/research reports I cant afford to lose. How easy is the conversion? And also concerned with software. Will programs work the same or at all?Is my equipment even compatible with other opsystems. Is there a risk of glitches that would curtail my efforts after attempting the change. I KNOW NOTHING about other systems hell I can barely run XP. However I would hate to lose files or go through a months long debugging venture.
View 2 Replies
View Related
May 24, 2010
i have downloaded and installed linux ubuntu onto my hp laptop. now my account in linux does not show my files etc on my harddrive which have obviously been created by windows.how do i transfer/see them in linux?interested in learning but no the best at computer language
View 4 Replies
View Related
Mar 25, 2011
i wanna covert script to C code or any other method to embed this script in C code, script link [URL]
View 1 Replies
View Related
Mar 12, 2010
How to convert a .flv file to .mp3 file? (Extracting only the sound)
View 7 Replies
View Related
Oct 17, 2010
Similarly to this question:Convert a PDF to greyscale on the command line in FLOSS?I have a PDF-document and want to convert it to pure black and white. So I want to discard halftones. To convert to grayscale with ghostscript I can use this command:
gs
-sOutputFile=output.PDF
-sDEVICE=pdfwrite
[code]....
View 2 Replies
View Related
Oct 23, 2010
I need to convert a VHD file (Hyper-V VM) to the Linux raw format. Is there a tool which can do this which is graphical?
View 2 Replies
View Related
Apr 26, 2011
I have a CentOS 5.6 box and was wondering if there are any tools for Linux that can convert a Microsoft Word document to a TIFF file?
View 2 Replies
View Related
Aug 12, 2010
I need to convert OS X apps to OTF or TTF. Something usable in both Linux and Windows.
Is there any way to do this via the command line, or any app for this?
View 3 Replies
View Related
Apr 15, 2010
I've been looking for a way to run windows-only vst plugins nativley on linux as well as to find a linux driver for my 1394 audio interface with little luck; I would like to do so without relying on wine, and have come across an idea to work out after stumbling on a utility that converts dll to lib (called dll2lib). The idea would be to convert the dll's for a proprietary fw audio dev and dependent MS libraries and manually change what's needed to make it compatible with linux env. is this possible; will I be able to achieve source code from this? if not, what is the primary point of converting a dll to lib in the first place.
View 2 Replies
View Related
Aug 8, 2010
I need a way to batch convert 720p video files from avc1 to xvid in Ubuntu 10.04. I'm not terribly concerned about file size, but I do wish to retain the picture quality as much as possible. I believe the audio is encoded as aac, which is fine for my purposes.
What would be the best and easiest way to do this? I've tried using Handbrake. During my first attempt, I had it using ffmpeg to convert to MPEG-4, but that just gave me a super-low quality video at twice the file size. Trying h.264 now, so we'll see how that works out. But just in case it doesn't pan out so well, what other ways do you recommend?
I was thinking I'd write a bash script to reencode the files one by one, but the problem is that I have very little knowledge about codecs and containers and whatnot - so I wouldn't know what parameters I would pass ffmpeg/mencoder.
View 1 Replies
View Related
Sep 1, 2010
I thought this question's best category would be in the newbie sectionBasically I have a C code, (for simplicity is only prints a few lines), called printx.c that I would like to convert into a binary file so whenever I have to type "printx" in the command line it would execute the programofcourse gcc will give me a binary file if I do a "gcc printx.c", but even the output file (e.g. print.outwould have to be executed following manner./print.outI only ask, because I notice programs like mailx (which is written in C) is a binary file that could be run in this manner (at least that's what I notice on my ubuntu distro)
View 3 Replies
View Related