Ubuntu :: Sign Multiple Files At Once With Jarsigner?

Jul 29, 2010

how I would sign multiple files in ~/sign/unsigned and output them to ~/sign/signed with the orignal file name? The two issues I'm facing are

A.) I don't know how to sign all the files at one time in a folder using signapk or jarsigner

B.) When I do sign and individual file I don't know how to keep the same name from input using *.file (the wildcard) and keep the original name in the output.

There are 71 files i need to sign and make sure they all are signed with the same key at once. Individually signing them one by one would take too long because after I sign them individually I need to go and rename the signed file with the original name.

Here is the code I use to sign an individual apk file:

cd ~/sign/unsigned
java -jar /home/andrew/sign/signapk.jar /home/andrew/sign/certificate.pem /home/andrew/sign/key.pk8 ~/sign/unsigned/*.apk ~/sign/signed/signed.apk

how I can keep the original input name to the output without having to rename them and then how could I sign multiple files at once?

View 3 Replies


ADVERTISEMENT

Ubuntu :: Renaming Multiple PDF Files (Replacing Sign)

Jun 21, 2011

I have many pdf files which contain "%" sign also in the name. I want to rename that all files by replacing "%" to "-" Its hierarchy of many files and folders. Is there any solution to do this at one time? OR any script for this?

View 7 Replies View Related

Ubuntu :: Keys Are Not Working - When Want An @ Sign Cant Make That Sign - Keybaord Layout Has Been Changed

Mar 23, 2010

I have a problem my ubuntu is the latest distro but the shiftkeys are not working like when i whant an @ sign i cant make that sign the keybaord layout has been changed i even have done most of the solutions found on the site and no use.

View 1 Replies View Related

Ubuntu :: When Ever Try To Sign In To Messaging System It Gives This Message And Wont Let Sign In?

Feb 20, 2010

when ever i try to sign in to my messaging system it gives me this message and wont let me sign in,< Received unexpected response from [URL] useTLS=1 is not allowed for non secure requests.>

View 3 Replies View Related

Ubuntu Security :: No Option To Encrypt/Sign Files On Pop-up Menu

May 16, 2010

I'm using Ubuntu 10.04 64-bit. I created a PGP key pair using Applications|Accessories|Passwords and Encryption Keys. I used DSA El Gamal as the encryption type and a key strength of 2048 bits. However; when I right click on a file or folder I don't see the Encyrpt... and Sign options.

View 4 Replies View Related

Ubuntu :: Extract Multiple 7z Files In Multiple Folders?

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

Ubuntu :: Replace Multiple Lines In Multiple Files?

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

General :: Rename Multiple Files In Multiple Directories/subdirectories Recursively?

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

General :: Get Rid Of "Lock" Sign On Files And Folders Forever?

Jan 17, 2010

I have Ubuntu 9.10 installed on my laptop.
every time I save some files in my desktop a sign of "lock"
is appeared attached to the file's icon.
Then by using this command I can remove it:

"chown pc *"

What can I do if I want not to see that sign (the sign of a lock)
anymore?

View 7 Replies View Related

General :: Creating A Script To Move Or Copy Files Into Multiple Directories Below The Files?

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

Ubuntu :: How To Move Multiple Files

Feb 20, 2010

how do i move multiple files at once using the command line?

View 4 Replies View Related

Ubuntu :: Converting Multiple Files (TIF To EPS) At Once

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

Ubuntu :: Print Multiple .doc Files?

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

Ubuntu Servers :: Multiple Php.ini Files

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

Ubuntu :: Permissions Of Multiple Files At Once?

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

Ubuntu :: How To Extract Multiple Rar Files At Once

Sep 11, 2010

find a software similiar to [URL]whit gui for ubuntu ? or some kind of nautilus script ?

View 9 Replies View Related

Ubuntu :: Can't Select Multiple Files For Uploading

Feb 13, 2010

I pushed the browse button and selected the first picture, but I was unable to select all of the pictures.
This happened again on an email attempt to do the same thing.

In the gnome environment, I am able to select the first then hold down shift, and select the last pic and all the ones in between will be selected. I expected this behavior when selecting for upload, but it didn't happen. I had to select each one, one at a time and upload each one.

I tried making a folder to upload the whole folder and that would not select at all.

View 8 Replies View Related

Ubuntu Multimedia :: NeroAacEnc With Multiple Files?

Mar 8, 2010

I would like to create AAC files using NeroAAC.I have directories of wav files I need to encode and I cannot figure out how to do this with the neroAacEnc command on the command line. The program will not accept neroAacEnc -if *.wav -of *.aac as a valid command, though FAAC, LAME and OggEnc will accept similar commands.I lack the coding skills to write a proper script for it. I'd just like to be able to type in a command and have an entire directory converted from wavs to aacs with the Nero codec. Is this possible? If not, can it be programmed? How?

View 3 Replies View Related

Ubuntu :: Moving Files From Multiple Directories?

Apr 16, 2010

I have a directory tree with lots of folders. I need to gather all files of same type, say .txt, and place them in a different folder all by themselves.

I know I can use the mv command, but it won't let me go through all the subdirectories of my folder, just the current one. How can I search through all subdirectories for all .txts or whatever and move them to a folder of my choosing?

View 2 Replies View Related

Ubuntu Multimedia :: How To Rename Multiple JPG Files

Sep 10, 2010

How I could rename multiple jpg files. Say I copied IMG0001.JPG until IMG0134.JPG from my camera, and want to rename IMG0001 until IMG0064.JPG to 'party01.JPG' untill 'party64.JPG', etc. In windows there was a stupid wizard to rename files when you copied them onto your HD from a camera. Is there any good way to do something similar in ubuntu?

View 1 Replies View Related

Ubuntu :: Possible To Shrink Multiple Images Files At Once?

Nov 12, 2010

I have a folder full of image files. They are large files and they only need to be large icon size...manybe 2 inches wide. Is there a way to convert them without editing each file individually?

View 6 Replies View Related

Ubuntu :: Rename And Save Multiple Files?

Feb 22, 2011

I am quite new to script programming and I am facing an uphill task to rename files in one folder. I have gone through similar posts but most of them deal with renaming files by changing the file extensions.Problem : I have a folder which contains files like bild01.jpg,bild02.jpg. There are more files in the folders which should remain untouched. I want to rename these 'bild' files as follows:

bild01.jpg -----> 1c.jpg
bild02.jpg -----> 2c.jpg
bild30.jpg------>30c.jpg
I would like to create a script as:
#!/bin/bash
npics=`ls -1 bild*| wc -l`

[Code]...

View 1 Replies View Related

Ubuntu :: Search For Term In Multiple Files?

Mar 7, 2011

I am trying to search for a term in a bunch of files. Is there a way to do this. I would like to search all the files in a directory and its subdirectories for a specific term.

View 1 Replies View Related

Ubuntu :: Encoding Conversion On Multiple Files?

Jun 8, 2011

I'm trying to convert the encoding of multiple files in a directory and I try to do it as follows.

Code:
#/bin/bash
find . -type f -name *.txt -exec iconv -f GBK -t utf-8 "{}" -o "{}.utf8" ;
find . -type f -name *.utf8 -exec mv -f "{}" `echo "{}" | sed 's/.utf8//'` ;

The first command goes well by generating utf8 files from all txt files, but the second command fails with error message. Could someone enlighten me about the mistake in the command and share a workable solution?

View 2 Replies View Related

Ubuntu :: Replace String In Multiple Files Using Sed?

Jul 4, 2011

I am trying to replace a string (url) in 100s of files located in different directories. I found the sed command but cannoy get it to work. First I locate the files that have the string in them:

Code:
grep -ilr 'url' *
this works correctly and displayed the location of the files that have the string:
Code:
1/index.php
2/index.php

Now I need to replace the string so I combined it with sed:

[Code]...

View 3 Replies View Related

General :: Multiple Files In Vi

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

Ubuntu :: Open Multiple Unique PDF Files In One Applicaiton

Jan 14, 2010

I read a lot of PDF documents using the default Document Viewer and I am wondering whether there is an application or a hack to have several PDF files concurrently open in one application (maybe like tabs in a browser?) since switching between one application to a specific PDF always takes time.(Especially with more than 4 PDF files concurrently running.)

View 5 Replies View Related

Ubuntu :: Rename Multiple Files With Only Parts Of The Original Name In The New Name?

Jan 26, 2010

Could someone help me find a way to rename a file to a different name containing parts of its old name?

For example:

Original file name: filename1.abc.xyz.some.other.stuff
Final file name: filename1.abc.xyz

The length of the file name is not constant. the abc.xyz is not constant but that format is (three numbers.three numbers) the .some.other.stuff is not constant and its what i want to get rid of

View 8 Replies View Related

Ubuntu :: Find Multiple Files In The Command Line?

Mar 2, 2010

command line, I have a server for work that I ssh into and I need to be able to find multiple files (they have the leading text just the date identifier changes) and then zip the files (with bzip) them and then finally scp(Secure copy) them to another server.

These files are always in the same directory and this is a daily task and just want to make into a script that I run once I am logged into the remote server.

View 4 Replies View Related

Ubuntu Multimedia :: Set Specific ID3 Tags For Multiple Files?

Mar 22, 2010

How can I set specific ID3 tags for multiple files? For example, I would like to set all files in a directory to the same album. (directly setting the album tag for files in a directory to the directory name would be even better)

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved