Software :: Difference Between <filename>.rpm And <filename>.src.rpm?
Nov 22, 2010what is the difference between <filename>.rpm and <filename>.src.rpm?
View 2 Replieswhat is the difference between <filename>.rpm and <filename>.src.rpm?
View 2 RepliesWhat is the difference between filename and ./filename? Under what circumstances is one preferred to the other?
View 5 Replies View Related$ uname -a
Linux a 2.6.35.10-74.fc14.i686.PAE #1 SMP Thu Dec 23 16:10:47 UTC 2010 i686 i686 i386 GNU/Linux
$ lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch
[Code].....
How can I set a pattern that will output a filename equal to the original filename? E.g.
something.mp3 → something.ogg
And why isn't this implemented in SoundConverter?
PS: {Filename} doesn't work.
I need to split a filename into its filename and extension, so I can append a datestamp to the filename. I'm using bash.
View 8 Replies View RelatedI've installed ethernet adapter, it is made in china from a manufacturer called FOX. The driver for that adapter is supported for sco linux kernel version 2.4.x and 2.5.x .However, I'm using Centos5 but the OS didn't recognize the adapter alone, so I'm trying to follo instructions on the driver on the attached CD.
The CD contains file named "SC92031.c", the instructions tell me to do the following "Compile the driver source files and it will generate sc92031.o"
How can we convert a dynamic library (filename.so) to a static library (filename.a) using gnu gcc . Can we get a static library form a dynamic library . I saw a few post in which the conversion form a static library to a dynamic library is mentioned but, unfortunately, not the other way.
View 4 Replies View Relatedi have filename like the following
1_40_37573.dbf
1_41_37573.dbf
1_42_37573.dbf
[Code]....
actually i want to extract the substring between 2 underscores
e.g. in case of 1_40_37573.dbf i need 40 and in case of 1_101_37373.dbf i need 101 and so on
I have some school work that involves creating a script that creates a backup of my /home folder, everything goes well but the problem is with the filename.
I am supposed to create a .tgz with the filename : hostname-day-date-HH:MM:ss.tgz
The .tgz gets created with the correct filename but when I try to unpack it the filename can't be resolved, it's the : that mess things up.
I've been googling for this, but can't find if grep can do this, or how to use a second command.
I need to find all the files recursively where a given word is found, but since it can be found more than once in each file, I'd like to only get the filename once, to keep things clear, eg. looking for "vfork":
Code:
grep -R vfork *
...
configure: is told about this with #include <vfork.h>, but some compilers
configure: (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
configure: clobbered by the vfork. */
tail -f <filename> is not working as planned on my Ubuntu 9.10, it doesn't show the appended data.tail -F works, but it does not append the new line, it reopens the file with the message: "tail: <filename> has been replaced; following end of new file"
View 4 Replies View RelatedI'm trying to change the date of the following text file from 1970 to 2011 (I have 500 text files to rename). Can Ubuntu do this natively or will I have to speak to the "Script Guru's"?
TG.ALISISPOASDLDSIASI-1970-2d938787212.txt
How does a filename is mapped to its inode ??? If I want to make our own system call and use a filename as argument how can I get its inode ,if I want to use some of member of inode structure in code. Basically I want to get the fd of the file.
View 5 Replies View RelatedI set up environment according to BareMetalProvisioningBestPractices document, I think everything should be ok. Now trying to plug in new virtual machine for PXE install Linux. But something is wrong, DHCP waits couple of seconds, and then I receive:
PXE-E53: No boot filename received
PXE-M0F: Exiting Intel PXE ROM.
I think, all services required are started.
dhcp.conf on boot/stage is:
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
[Code].....
pxelinux.0 was taken from RHEL4, but I've got image and trying to boot RHEL5. Maybe there is something?
in directory a_dir, have a file named a_file.i can type "source a_file" under directory a_dir and execute successfully.but if i write the command to a Makefile under directory b_dir, the "source" function can't be executed well. it will generate some error message like this:
./a_file: line 1: setenv: command not found
./a_file: line 2: setenv: command not found
./a_file: line 3: setenv: command not found
./a_file: line 5: setenv: command not found
I have to extract last number from filename.
ex- my file name is a10b8c1000
so i want to extract 1000 from it.
i tried using sed
sed 's/[a-z][0-9]*[a-z][0-9]*[a-z]//g' a10b8c1000
but sed looks for content inside file.
I would like to remove a part from wiz_khalifa-black_&_yellow-(82_bpm).mp3
The part to be removed is -(*_bpm)
so that makes wiz_khalifa-black_&_yellow.mp3
Also a problem is that sometimes multiple "(" occur in a filename (wiz_khalifa-black_&_yellow-(remix)-(82_bpm)), so how can i only remove from the last "("
I have just re transcoded a bunch of avi's. to tell the new ones from the old ones I put '[xvid]' at the end of all the new avi's. but now I have deleated the old avi's I want to remove the [xvid] part of the file name. This is what I have so far
Code:
#!/bin/bash
for name in *.avi
do
newname=`echo "$name" | tr -d [xvid]`
[Code]...
I have downloaded torrent from some chinese tracker. It has ???? and some other symbol charaters in directory name. How to delete that file and directory?
View 5 Replies View RelatedIs there a way for me to rsync two directories comparing only filenames (and not file size, date modified, or any other criteria)?
View 2 Replies View RelatedHow to make sure that when I save a pdf file, the file extension .pdf appears in the filename? Its a silly little thing, but annoying. The file browser recognises it afterward as a pdf file though, it opens with document viewer ok.
View 9 Replies View RelatedI'm trying to mount a windows share (that mac users use) using:mount -t cifs //x.x.x.x/Graphics /mnt/graphics -o username=x,password=x,iocharset=utf8.It mounts ok for the most part, but where the mac users put bullets in front of their file names, ubuntu displays questions marks. I've tried this without the iocharset as well and same result when I execute ll -l.
View 1 Replies View RelatedBrasero is a great application in general, but one thing has always annoyed me: When I rip a disc to an image file, it is always called "brasero.iso" by default. Is there some way I can configure Brasero to automatically use the disc's volume label as the *.iso filename? I'm tired of having to type a filename each time, or else go back later, figure out what it's an image of, and rename it in Nautilus.
View 1 Replies View RelatedI'm currently trying to organize a media server so that things will be in some kind of logical order rather than the current setup of dumping everything of a certain content type into a single folder. However, the size and diversity of content within these disorganized folders precludes me doing things manually. Does anyone know of a program or script that could sort the files into folders based on part of a filename
View 7 Replies View RelatedUbuntu 10.04 Guest in VirtualBox
I'm trying to delete a file called
Code:
springlobby_config.h
I've tried:
Code:
rm -i *
which gives me:
Code:
rm: cannot remove `springlobby_config\.h': No such file or directory
Tried to rename it:
Code:
mv * abc
which gives me:
Code:
mv: cannot stat `springlobby_config\.h': No such file or directory
I don't think it's a permissions issue because usually the terminal would say permission denied, but perhaps I'm wrong.
I have found a Nautilus script that is able to copy the path of a file(e.g. /home/#&*@^/name_of_file.jpg) & I do use it regularly but I would also like to have a Nautilus script that would copy just the filename, not the path. Is there any Nautilus script out there that could do that?
View 1 Replies View RelatedIs there really no way of having with a GUI an indexed file search by filename (not contents etc) which gives a detailed list? Great big icons as a "result" is no good to me, I want "details" that I can then click on to either open or copy etc. I tried the totally useless "Tracker" and Zeitgeist in my 11.04 is no better. There is a fantastic product in the win environment called everything.exe which does exactly what I want. I cannot be alone in this type of requirement. It has to have a GUI.
View 9 Replies View RelatedI have a directory that has a large number of files, around 1.5 million at this point. If I go to the directory and type in "ls filename" for a filename that I know exists, ls just hangs. I have let it run for over 20 minutes and it never does anything. Up until yesterday the directory was working fine through samba serving up files, but now it doesn't return anything. How to proceed from here?
View 7 Replies View RelatedWhat I have done wrong with my escaping here:
Code:
The original filename is:
Code:
I run 5GBFree.com a free hosting site. As you can imagine, it gets quite a few people signing up to abuse the service.Recently I've found a LOT of people setting up sites with a particular script that floods forums and IRC chat rooms. The names of the files are as follows:
peindom1.php
peindom2.php
peindom3.php
peindom4.php
Is there a command I can run to remove files with these filenames ANYWHERE on the server (so basically, a command to go through all folders on the server and remove instances of that name
I am trying to strip the .wav file extension from a file name so that I can pass the result to lame encoder. I started to write a BASH script that looks like this:
Code:
for f in /home/user/wavfiles*; do FILE=basename $f .wav; lame $FILE; done
It doesn't work very well though. For the life of me I can't seem to discover how to use basename in a suitable way for a script like this.