General :: How To Tar Files With No Extensions

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


View 2 Replies


Ubuntu :: Adding Extensions To Multiple Files Without Extensions?

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

General :: Delete Files Which Have No Extensions?

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

General :: Symlink All Files But Copy Certain Extensions?

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

General :: Convert All File Extensions For Files In Many Sub-directories From Uppercase To Lowercase?

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:-

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.


View 7 Replies View Related

Fedora :: Install Files With Extensions .tar.gz?

Jan 7, 2010

I am downloading the files, but don't know how to install.

View 1 Replies View Related

Ubuntu :: Return A List Of Files Without The Extensions?

Jan 3, 2011

I am writing a bash shell script and I am trying to use a select case to modify a few files with the same filename but different extensions (i.e. problem.tex problem.log problem .pdf etc.)

It goes something like this:

Select item in $list
compile $item.tex
open $item.pdf
delete $item.log

Right now my list is list=$( find . -maxdepth 1 -name "*.tex" ) which returns a list only from the current directory of all files ending in .tex so when I try to open the resulting .pdf file I get the error:

error: file problem.tex.pdf doesn't exist

So I'm trying to find a way to use just the name in a select menu.

View 5 Replies View Related

Programming :: Bash: Rename Files In Alphabetical Order And Make Extensions Uppercase?

Oct 21, 2010

I am trying to write a bash script that will extract a .cbr (.rar) file, traverse the extracted files in alphabetical order and rename them 001.JPG, 002.JPG, 003.JPG, etc.So far I only have this much to extract it:



View 8 Replies View Related

General :: Installing PHP With Choice Of Extensions?

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

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 View Related

General :: File Name Extensions With VIM (VI Improved)?

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

The first line corresponds to what vim now does. The second one is what I want vim to do.

View 12 Replies View Related

General :: Legacy Os No Wireless Extensions

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

General :: Unable More Php Extensions On Gentoo Server?

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

General :: Asus Eee Pc 1001px Will Not Find Wireless Extensions

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

General :: Appending File Extensions To Filenames In Bash Scripts?

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

General :: Find Unique Extensions Or Formats In Deep Folder Structure

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

Server :: Add PHP Extensions In Debian 5?

Jan 7, 2010

I have installed apache 2 and php 5 on my server. It works great but what I need is to add few extensions to PHP so it supports my website:

PDO (with MySQL and PostgreSQL driver)
GD2 or Imagick

How can I do that?

I have located my php.ini file. It's in the /etc/php5/apache2.php.ini. I have used nano /etc/php5/apache2/php.ini to open it and I searched for "curl", "pdo" etc but there is no mention of them in the php.ini file. No commented lines with these extensions.

Will it work if I just add this on the end of my php.ini?


View 1 Replies View Related

Debian :: Using Internet But No Wireless Extensions

Aug 24, 2015


eth0 no wireless extensions.

lo no wireless extensions.

Whereas I am using wireless internet ...

View 14 Replies View Related

Fedora :: How To Enable Gnome3 Extensions

May 29, 2011

ALT+F2 R to restart the Shell, your extensions will be enabled

View 6 Replies View Related

Fedora :: Can't Log In After Installing Gnome 3 Extensions

Aug 16, 2011

I installed Fedora 15, fresh install, today. Then I installed several Gnome Shell extensions along with Gnome Do through the package manager. I logged out, and tried logging back in. Received the Gnome Shell error message, "Fatal error" and was told to try again. Get taken back to login window.

I tried logging in as "root" so I could uninstall the packages I installed, but apparently you can't do that in Fedora. What's the best course of action?

View 2 Replies View Related

OpenSUSE :: How To Install Extensions In Chromium

May 12, 2011

I have installed Chromium from OpenSuSE 11.4 Contrib. I have x86_64 openSuSE. When I go to the Chrome store to install some extensions the store says that Image View

View 8 Replies View Related

Ubuntu :: Using Sed To Change Certain File Extensions?

Jun 2, 2010

I have about a hundred and fifty html files that I would like to change image file extension on from gif to png. I want to change this line:

<img src="images/robopix/web/ROBOTNAME.gif" border="0">

to this:

<img src="images/robopix/web/ROBOTNAME.png" border="0">

Trouble is that ROBOTNAME is different in each of the hundred and fifty files. To make it harder, there are other gif filenames on these pages that I do not want to change. I only want the extensions to change if the address prefix is 'images/robopix/web/'. Is there any way to do this with a quick program/sed command rather than manually editing a hundred and fifty files?

View 8 Replies View Related

Ubuntu Servers :: How To Hide Extensions

Jun 1, 2011

I installed Ubuntu 32 bit non server edition a while ago and set up mysql, phpmyadmin, apache2, php5 and also proftpd my site is up and running perfectly but one thing I want to do is to hide the file extensions like for example at the moment it shows[URL]

View 9 Replies View Related

Software :: Transmission - Add-ons Or Extensions Pack?

Jan 29, 2010

I am currently DL-ing a handful of ISO's and am having to set each file's priority to Low on a case-by-case basis. Is there something I'm missing or is there a way to set a Global priority (like speed-limitations)?

Also: I notice that in multi-file torrents (e.g. those found in Fedora-12-x86_64-Live) that each file can have its own priority setting. Can these have a default other than Normal?

View 2 Replies View Related

Programming :: Compare The Filenames Without Extensions?

Jan 3, 2009

I have a large number of files, all of them named /*/*.xyz I need to match them to potential files name /*/*.abc I have tried find -name *xyz |awk '// {print '$NF'}' | awk '{print $NF }' but the result has the full path I just need the filename without the extention, and without the full path.

View 5 Replies View Related

Slackware :: Iwconfig No Wireless Extensions?

Feb 22, 2011

I just installed Slackware 13.1 on my Asus 1215T, and I've been trying to get it to connect to my wireless network in my home. When I type iwconfig I get no wireless extensions, and ifconfig returns only lo, no wlan0. I read the Slackbook wiki and tried to configure the inet1.conf and wireless.conf but still no luck...

View 12 Replies View Related

CentOS 5 Server :: How To Create Some PHP Extensions

Jun 16, 2009

I'm trying to create some PHP extensions. I have installed php-devel as well as the other preqs I thought were required. However I'm not able to find ext_skel. The file README.EXT_SKEL was installed, but not the actual program (find / -name ext_skel). My understanding was ext_skel was installed with php-devel. I know it is in the source code, but I'm not sure where to get the source for PHP 5.1.6 for my version of CentOS.

I'm running linux 5.3

View 1 Replies View Related

Debian :: Epiphany And Nautilus Extensions Not Showing

Nov 22, 2010

I used the Synaptic Package manager to successfully install Epiphany and Nautilus extensions. I restarted but the Epiphany extensions do not appear in the Tools/Extensions list and the Nautilus extensions do not appear in any of the commands.

View 1 Replies View Related

Debian Multimedia :: Cant Load PNG Image Extensions

Nov 3, 2010

i cant load PNG image extensions..i dont know what to do.when i pressed the button printscreen of my keyboard the system shows me an error dialog:"Unable to save screenshot to disk:The type 'png' is not suported."what is the problem??i try to rebuild libpng and libjpeg, but i cant solve the problem.

View 3 Replies View Related

OpenSUSE :: Shell Extensions Crashing Gnome 3

Jun 2, 2011

GNOME 3 issues, I got everything figured out and was trying to get some extensions installed. I successfully installed the alternative shutdown menu and the applications menu. I tried to install alternate-tab and user-theme and they both caused gnome3 to boot into IceWM...I removed all the folders from /usr/share/gnome-shell/extensions and home/<user>/.local/share/gnome-shell/extensions and it fixed it. I read somewhere about them being outdated if a GNOME 3 update was released.

The two extensions I did install were from New GNOME Shell Extensions That Provide A GNOME2-Like User Experience ~ Web Upd8: Ubuntu / Linux blog and not the GNOME 3 website. The extensions that crashed GNOME were from all over, INCLUDING the GNOME website. I'd like to get the system monitor and a weather applet in the panel and the alternate-tab and change themes but I can't find any that work. [URL]. I tried to use the themeselector extension from here and I think another one or two, however, they were also a few that crashed my GNOME...

View 1 Replies View Related

Copyrights 2005-15, All rights reserved