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
ADVERTISEMENT
Jan 1, 2010
Does anyone know of a way to perform a search for multiple file extensions at once in Gnome? I know that M$ Windows Explorer had this capability, but I'm just not sure how to do it in Gnome, or if it's possible. I just want to be able to perform searches for Video, Music, and Document file types, without having to perform a separate search for each file extension. Example: When doing a search for Video file types (.avi,.mp4,.mov,.wma, etc.), I would like to do one search for all files that have these file extensions, instead of doing one search for .avi files, a second search for .mp4 files, another for .mov files, etc.
View 8 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
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
do
compile $item.tex
open $item.pdf
delete $item.log
break
done
exit
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
Jan 7, 2010
I am downloading the files, but don't know how to install.
View 1 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
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
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
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:
Code:
#!/bin/bash
#
[code]....
View 8 Replies
View Related
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
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
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)
curl
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?
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
View 1 Replies
View Related
Mar 24, 2010
I have a fresh install of Karmic on a older compaq laptop. I initially had LAN access, but not wifi. I added a few Broadcom packages using synaptic, and then neither worked. Then I removed the same packages, but I still have no internet access, LAN or wifi. Here are some of my settings. vincentertainment@vincentertainment-laptop:~$ iwconfig
[Code]...
View 1 Replies
View Related
Apr 20, 2010
i was just wondering if anybody knows of a command that i can run in the terminal to HIDE file extensions.I would apretiate this command and i dont mind if it is for ubuntu or windows.
View 2 Replies
View Related
May 17, 2010
I am wondering the "new way" to install firefox extensions for all users.
From [URL] we can see that the "old way" is no longer available.
Quote:
-install-global-extension and -install-global-theme have been removed from Gecko 1.9.2 and upwards.
I'm using the Lucid UNE to write this and note that it has these extensions installed for every user:
Quote:
Ubuntu Firefox Modifications
webfav
I have several users on many computers and would like to have certain extensions installed for them, such as xmarks, add bookmark here, coolpreview, etc.
I searched the entire root filesystem and didn't find any .xpi files.
View 9 Replies
View Related
Jun 24, 2010
Linux cares about case sensitivity. This is a problem when some picture upload services accept .jpg while my camera uploaded the thousands of pictures I have as .JPG.
I can handle this task fine PER DIRECTORY. The problem is, I still have a ton of directories. Is there a way I can select - Pictures - Mass rename EVERYTHING inside and everything inside all sub directories from JPG to jpg?
Basically I want to take the existing command:
rename 's/.JPG$/.jpg/' *.JPG
a step further.
View 1 Replies
View Related
Feb 15, 2011
I want to rename some image file extensions from upper case to lower case but renaming all the images in all directories and subdirectories. the following code works if I am inside the folder but how do I make it work recursively?
Code:
for f in *.JPG; do mv $f `basename $f .JPG`.jpg; done;
View 2 Replies
View Related
Aug 24, 2015
iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
Whereas I am using wireless internet ...
View 14 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 29, 2011
ALT+F2 R to restart the Shell, your extensions will be enabled
View 6 Replies
View Related
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
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
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
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
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
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
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
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
2.6.18-128.1.10.el5
i386
View 1 Replies
View Related
Jul 6, 2010
I wonder how can i play internet radio with .pls extension in rhytmbox....
Ctrl+I didn't work for pls...
I am using lucid, and the station i am going to listen is: [url]
(m3u works, it's just pls that didn't work)
View 6 Replies
View Related