|
Is it possible to get the size that a tgz will take up once it's extracted, but without extracting it? I basically want tar tzf file.tgz
with sizes beside them. I'm really looking for a total, so a solution that gives total size but not specific file ...
Started by Steve Armstrong on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
If it compressed using gzip compression, you can do something like:
gunzip -l filename.tar.gz
Since a tar is not... .
Zcat file.tgz | wc -c
Will give you the number of characters taken up by the uncompressed .tar file, which will be very close to correct .
|
|
Hallo,
I would appreciate your advice. Given the following snippet:
<div id="parent"><div id="child">ChildText<span id="subchildtext"><b>SubChildText</b></span></div></div>
I want to:
Extract the span Element...
Started by tim on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I don't know jQuery, but here is how you do it with javascript
var span = document.getElementById("subchildtext"); var newBold = document.createElement("b"); newBold.appendChild(document.createTextNode("foobarbold")); span.insertBefore(newBold, span.firstChild... .
|
|
Extract diphenoxylate from Lomotil using reverse cold water extraction? I have seen speculation that with diphenoxylate being barely soluble in water and atropine being very soluble in water you would basically do a CWE and discard the water and consume...
Started by The Paregoric Man on
, 12 posts
by 8 people.
Answer Snippets (Read the full thread at opiophile):
Re: Extract diphenoxylate from Lomotil using reverse cold water extraction? why ╭∩╮ bee-oytch of Educational Sociology, 4 (1931): 347 Re: Extract diphenoxylate from Lomotil using reverse cold water extraction? Getting on high....
|
Ask your Facebook Friends
|
Is there a free tool that's good at extracting objects from photos?
It has to work on linux
For instance, extracting a person from a photograph.
Started by hasen j on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
Alpha extract -negate pagoda_mask.png
creates
Which you can then use to cut the out everything.
|
|
I know that we could easily extract the uuid version number. Is there a reliable way to extract information like timestamp, MAC address?
Thanks!
Started by Chris Frost on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I could not find any version 2 UUIDs so I didn... .
Not necessarily a reliable way probably give you enough information to extract data, although you probably shouldn't rely .
Have, and using that you can extract specific bits of information.
|
|
This is the script that is taking a very long time
USE [r_prod] GO SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO -- -- Author: Drew Borden -- Create date: 4/16/2009 -- Description: Procedure to populated subdivision extract table -- IF EXISTS(SELECT...
Started by John Humphries on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Does the delete from dbo.subdivision_extract take? If it takes a while and the log is not required (and you have no triggers on the table), try changing it to TRUNCATE TABLE dbo.subdivision_extract.
|
|
Is there any method to extract zip files and maintain the same folder structure in the output folder.I am able to extract the zip file and its inner files but not able to extract folder from a zip file and thus fail to maintain folder structure also.
Started by Piyush Giri on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You are able to extract the zip file in flex? What are you using to do this? Is it a third-party.
|
|
If I have the following nvarchar variable - BTA200, how can I extract just the BTA from it?
Also, if I have varying lengths such as BTA50, BTA030, how can I extract just the numeric part?
Started by Xaisoft on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Note that PatIndex is actually using Data) from table
Also, if the alphabetic... .
FROM MyTable
To extract the numeric part, you can use this code
SELECT RIGHT(MyField, LEN(MyField) - 3 use with the LEFT function to extract the correct data.
|
|
The string is setup like so:
href=" PART I WANT TO EXTRACT ">[link]
Started by Josh on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Grep -o "PART I WANT TO EXTRACT" foo
Edit: "PART I WANT TO EXTRACT" can be a regex, i.e.:
grep -o I WANT TO EXTRACT">[link]" | awk -F""" '{print $2}' PART I WANT TO EXTRACT
Or using shell ${a/&*/} PART I WANT TO EXTRACT....
|
|
I want to extract information from user-inputted text. Imagine I input the following:
SetVariables "a" "b" "c"
How would I extract information between the first set of quotations? Then the second? Then the third?
Started by Reznor on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Values >>> print l; ['a', 'b', 'c'] >>> print l[2]; # to show you how to extract.
|