Slackware :: Gpg --verify Multiple Files?
Jun 22, 2011
All of the discussion about slackware and kde prompted me to rsync alien's kde 4.6 packages (thanks for these by the way!).Each directory contains the .txz packages and associated .asc (all same signature)and md5s.I want to avoid doing gpg --verify whatever.asc individually for multiple files. Likewise for md5sum -c whatever.md5.Can anyone tell me a nice way of running run gpg --verify and md5sum on all files in the directory? I have been playing with wildcards but can't get it right.
View 8 Replies
ADVERTISEMENT
Dec 7, 2009
I'm having trouble understanding how to verify the download of the Fedora iso-files. know how to do this on a Windows system. I have been looking in the help section for checking the iso-files, but I'm not sure where to find the right hashes, like MD5, SHA1, and etc.
View 6 Replies
View Related
Oct 29, 2010
I'm looking for a fast way to verify a copy of a folder with 150Gigs of data, in 33 files. Some of the files are a few kb, while a few are 20-30Gigs. I've done a file count, which is quick, but doesn't verify that all the files are intact. I tried running md5sum on them, which works, but will probably take as long as copying the files in the first place. Diff works too, but is slow too.
View 1 Replies
View Related
Aug 23, 2010
I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.
I tried the coding posted above.
find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....
but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"
View 9 Replies
View Related
Jun 14, 2011
have a large amount of 7z files in multiple folders which I need to extract.The directory structure is like this:
/main-folder/
multiple subfolders/
1 or more 7z files per subfolder
I would like to get the output of this action in one separate folder, all together in 1 folder.How can I do this?
View 7 Replies
View Related
Aug 20, 2011
I often use the rpl command to make changes to multiple html files at once. For example:
rpl -R '<br />' '<br /><br />' mydirectory However, I haven't been able to figure out how to change multiple lines. For example, let's say I want to change all occurrences of :
<br />
<br />
to:
<br />
I've tried
rpl -R '<br />
<br />' '<br />' mydirectory
but that didn't work. how to do this with rpl or some other way?
View 9 Replies
View Related
Aug 25, 2009
How can you create a script to move or copy files from a main directory into multiple directories below the main directory.
View 7 Replies
View Related
May 3, 2011
I've got an intel i7 920 CPU. It has 4 cores, but thanks to hyper threading technology each core could run 2 threads so in /proc/cpuinfo it shows "8 processors".
1. what would be the optimal -j flag when compiling programs on my CPU. I've come across -j7. Why 7?
2. Where and what would I put this flag to make it permanent (eg. .bashrc?)?
View 7 Replies
View Related
Jan 29, 2010
Ok I got this folder which has got let's say 3 packages:
example1.txz
example2.txz
example3.txz
Of course, there are many more packages actually. But anyway, I want to create a script that will upgrade all packages contained in the folder at once just by running the script.
View 5 Replies
View Related
May 15, 2010
Whenever I monitor my CPU's, it seems only the first is ever utilized, with the second always being at 0%.Does this mean it is not being used, or just not being reported as in use?Is there anything I could do to improve the situation if it is not being used as much as it could be?On Windows, I can assign processes to both cores, or either one. Is there a way to do something similar in Linux?
View 10 Replies
View Related
May 4, 2011
On my desktop computer (now running the very impressive Slackware64 13.37 and generic kernel), I've got what Alsa considers 4 different sound devices:
Logitech USB headset
Logitech QuickCam Pro 9000 with built-in microphone
ATI HD48x0 audio (which uses the HDA-Intel driver) on my graphics card
Intel 82801JI audio (also using HDA-Intel driver) on my motherboard
When I run alsaconf, it picks up the ATI audio only (which is fine). Later running alsamixer (or any other mixer) all 4 are visible. The issue is that I really would like the ATI audo to be in position 0. Previous to Slackware 13.37, setting up the device positions in /etc/modprobe.d/sound usually did the trick. However, that is now being ignored and one the USB devices are being put in position 0 regardless of what is in sound.conf. This is driving me nuts as a lot of software simply use the default audio device, which I would like to be my speakers, but is now my USB headset.
All of the googling I've done points towards messing with the /etc/modprobe.d/sound.conf file, but as I said, that is being ignored. Is there a more 13.37 way to have ALSA order the audio devices the way I want?
View 9 Replies
View Related
Oct 6, 2010
I have opened a file using vi i.e. abc.txt now I have given : new xyz.txt
two files now opened in the vi My problem is i can scroll through abc.txt only. how to scroll the xyz.txt also
View 7 Replies
View Related
Dec 27, 2010
the little four squares in a grid beside the KDE launcher. Looked through all the Plasma widgets and didn't see this one. How do I get it back? Tried everything I could think of
View 3 Replies
View Related
Jan 26, 2011
I'm having a problem building some applications (e.g. Qsynth and FreeCAD) with sbopkg relating to an unfound library named "jscore". I've been keeping my system up to date with slackware64-current.Google searches have turned up very little about this library. There is a sourceforge page that has no files and seems to be related to a google hosted script jsCore.js... but I don't think that's what's missing here. I've come across some vague references to this jscore library being part of webkit. Can anyone verify this? I updated my webkit library itself and found no apparent results. Perhaps jscore was removed in an update to Qt (both of the example applications mentioned above link to Qt) as it seems to have it's own webkit library, libQtWebKit.
View 5 Replies
View Related
Feb 17, 2010
..... tab opened and if a click on some of the related videos (while it's still playing) firefox terminates. The same if I open ..... on one tab and myspace on another - firefox just shuts down.I want to know why this happens, is it a bug and how can i fix it ?
View 2 Replies
View Related
Feb 20, 2010
how do i move multiple files at once using the command line?
View 4 Replies
View Related
Mar 4, 2010
I am converting .tif images to .eps and am trying to do a bunch of them at once. I have tried
Code:
convert *.tif *.eps
but this doesn't do it.
View 2 Replies
View Related
Jun 12, 2010
I often have a need for printing multiple files. Therefore I found a Nautilus script that would allow me to do this. However often many of the files a Microsoft Office doc-files. Since I do not really want to convert every single file (as that would defeat the purpose of bundle printing) I tried to figure out how to print these, as the commands "lpr" og "cupsdoprint" cannot process these. I have found a printing command using the CLI part of OpenOffice, but I cannot get it to do multiple selected files.
The command is:
Code:
soffice -p "/path/of/file.doc"
How can I use this in a Nautilus Script so I can print multiple files?
View 1 Replies
View Related
Jul 19, 2010
I would like to have multiple php.ini files for multiple sites.
I've a production site (word wide available) and a test site (available to some selected IP-addresses). I would like to set some different PHP settings for the test site, for example, 'error_reporting' and 'display_errors'.
Is this possible? I'm not looking for some CGI hack, unless it wouldn't work any other way.
View 2 Replies
View Related
Aug 6, 2010
I made some files belong to root, so that my sister couldn't read them while she was staying with me, there were about 40 files altogether but I did them all at once by change the permissions of the folder and clicking "apply Permissions to enclosed files" but now I want to change them back to belonging to my user account so Opened a gksudo nautilus windows and I went on folder properties and set the permissions to [user] and clicked apply to enclosed files, but it only did the folder. I tried selecting all the files and changing them all at once that way but it won't let me, how can I make the files belong to me again, other then one by one? I dont know how to use the CLI that much.
View 4 Replies
View Related
Sep 11, 2010
find a software similiar to [URL]whit gui for ubuntu ? or some kind of nautilus script ?
View 9 Replies
View Related
Apr 17, 2009
I use a mencoder line to convert .avi to .mpg (dvd player compatible), it works well but i can only do one file at the time. It requires giving the input and output directories and the files name. I tried using (*.avi *.mpg in the command) on the directory but it just add up all the .avi and convert them into one huge .mpg. My goal is to have a script that would convert all the .avi files from a directory to the same amount of .mpg and also keep the naming of those files. Here is what i work with on single files:
Code:
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,harddup
-srate 48000 -af lavcresample=48000
-lavcopts
[code]....
View 3 Replies
View Related
Mar 20, 2010
I am fairly new to Linux and was needing some help on a comparing more than 2 files. I am try to come up with something that would compare at least 10+ different files to a master file and give me an output of what is missing.
Example would be: a.txt, b.txt, c.txt, d.txt compare each of them to the master.txt file, than output the missing text for each file into new file.
I came across comm and diff commands, am I looking in the right place or is there a much easier way of doing this?
View 2 Replies
View Related
May 24, 2010
I have mulitple files that i need to be altered...is there a way to do so with out having to enter each and every file and do so?
View 3 Replies
View Related
Nov 12, 2010
I feel kind of embarrassed posting here, but this is technically a scripting sub-forum. Here is the problem. I have a folder with various files which include .txt files as well
How can i redirect same content to each of the .txt files in the folder?
I have tried
Code: $ echo "hello" > *.txt
-bash: !": event not found Code: also cat ~/otherdir/test.txt > *.txt
-bash: *.txt: ambiguous redirect Can anyone help me with this?Ok i solved it
Code: #! /bin/bash
for file in *.txt
do
echo "Text that needs to be written" > $file
done
View 2 Replies
View Related
Jul 18, 2011
I would like to retrieve the lists of multiple files at one go. Each file is big size so wget command is too slow to download all 14 files.
[URL]
View 1 Replies
View Related
Jun 28, 2010
I have a directory with hundreds of html files.
For all the files I have to:
- delete all the row from the beginning of the file to the sentence "<img src="immagini/_navDxBottom.gif" />".
- delete all the rows from the sentence "<br clear="right" />" to the end of the file.
How can I do that?
View 3 Replies
View Related
Mar 28, 2010
How to open multiple files with tab?
View 2 Replies
View Related
Jun 18, 2010
Is there an easy way to mount multiple disc images? I want to have all five Debian DVDs mounted at once, so if I try to install software from them, I don't have to insert the disc and it just automatically loads from the image.
View 1 Replies
View Related
Dec 30, 2010
I want grep multiple files:
let abc.1.abc.2,abc.3,abc.4
I use grep <pattern> abc.* to read the files. But here grep read files in the order of 1,2,3,4 . I want to to grep the files in reverse order like 1st the abc.4 file will be read and abc.1 file will be last.
Is this possible ?
View 3 Replies
View Related