9 More Discussions You Might Find Interesting
I have an old box not running for years. I just dig it out from the store room. On running;
$ sudo aptitude update
Err http://hk.archive.ubuntu.com jaunty/main Packages
404 Not Found
Err http://hk.archive.ubuntu.com jaunty/restricted Packages
... (1 Reply)
Discussion started by: satimis
2. Shell Programming and Scripting
I'm working on implementing a mail indexer and it currently saves every file with a series of numbers with no extension. ex. 021545545544
I was wondering if someone could point me in the correct direction for a script that would check all the files and give it a .eml extension if it doesn't... (1 Reply)
Discussion started by: binary-ninja
3. Shell Programming and Scripting
Trying to write program to archive files from a file system.
I got some problem with appropriate selection of files in regard to size.
Algorithm basic :
1. Remotely executes on machine ls cmd and its output redirects and sorts by size of a files :
# cd... (0 Replies)
Discussion started by: presul
4. Shell Programming and Scripting
for some reason my code does not give the right number of files. can omeone help me please? (2 Replies)
Discussion started by: andrew1400
5. Shell Programming and Scripting
I want to add a .txt extension to all files in a directory and it's sub directories.
So far I have managed to come up with this for the current directory but how do I do this recursively?
for e in *; do mv "$e" "`echo $e | sed -e 's/\ /_/g'`.txt"; done
Thanks (5 Replies)
Discussion started by: lewk
6. UNIX for Dummies Questions & Answers
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
7. Shell Programming and Scripting
The below tar command works fine for me,
tar -cvf - `find ./srcdir -type d` | (cd ./destdir ; tar -xvf - )
but this version is giving error to me:
cd ./srcdir &&
tar -cf - . |
gzip -9 |
cd ../destdir &&
gzip -d |
tar -xf -
error is: gzip: compressed data not read from a terminal.... (2 Replies)
Discussion started by: royalibrahim
8. Shell Programming and Scripting
How to strip the extention from filename?
MY_XML.xml -> MY_XML
MY_TEST_FILE.txt -> MY_TEST_FILE
HELLO_WORLD.xls -> HELLO_WORLD
Thanks in advance! (2 Replies)
Discussion started by: mpang_
9. UNIX for Dummies Questions & Answers
I still don't know if there's a standard way to do this. I'm hoping there's a *more or less* standard way to do this across linux platforms but the platform in question is Gentoo.
Let's say I download a source tarball as tar.gz and I do the typical
tar xvf... (2 Replies)
Discussion started by: d11wtq
debuginfo-install - install debuginfo packages and their dependencies
debuginfo-install is a program which installs the RPMs needed to debug the specified package. The package argument can be a wildcard, but
will only match installed packages. debuginfo-install will then enable any debuginfo repositories, and install the relevant debuginfo rpm.
Download and install all the RPMs needed to debug the kernel RPM:
Could not find debuginfo for:
You may sometimes see warning messages about certain packages not being found if you run debuginfo-install for a wildcard or glob.
Debuginfo packages are not necessary for "noarch" RPMs; these will generate a warning message. Additionally, On 64-bit systems, no
multilib debuginfo packages are published, so if you have 32-bit packages installed, these will also generate warning messages.
As debuginfo-install uses YUM libraries for retrieving all the information, it relies on YUM configuration for its default values like
which repositories to use. Consult YUM documentation for details:
See the Authors file included with this program.
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: email@example.com. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
James Antill 21 October 2008 debuginfo-install(1)