schenklklopfer, to Cat German
@schenklklopfer@chaos.social avatar

Ich habe ein seltsames Problem mit "tar". Es ist Faktor 10 zu langsam.

Dateien mit cat zu lesen geht so schnell, wie es die Platten hergeben.
So schnell sollte auch tar sein, ist es aber aus irgendeinem Grund nicht.
Bisher war das immer gleich schnell.

#cat: ~168MB/s
#tar: ~16MB/s

Test siehe Screenshot.

Hat jemand eine Idee?

byteborg,
@byteborg@chaos.social avatar

@schenklklopfer
Das deutet auf ein Blocksize/Buffer-Thema hin.

schenklklopfer,
@schenklklopfer@chaos.social avatar

@vampirdaddy sind sie tatsächlich. Aber das kann bei so großen Dateien keinen nennenswerten Unterschied machen.

aral, (edited ) to programming
@aral@mastodon.ar.al avatar

This is a niche one but it might help someone in the future:

How to include multiple directories from different places in the file system hierarchy in an archive without including the whole directory structure for any of them.

https://codeberg.org/aral/gists/src/branch/main/how-to-include-multiple-directories-from-different-places-in-the-file-system-hierarchy-in-an-archive-without-including-the-whole-directory-structure-for-any-of-them.md

TL; DR: use symlinks.

4censord,
@4censord@unfug.social avatar

@aral can node tar not create an archive in multiple steps?
with normal tar, i'd just create an archive and add the first files, and then just append the other files to the archive with a tar command with different working directory

Direktory like:

.  
├── file1.txt  
├── file2.txt  
└── folder  
 └── file3.txt  

Commands:
tar cf archive.tar file{1,2}.txt
tar rf archive.tar -C folder file3.txt

Creates an archive like:
$ tar tf archive.tar
file1.txt
file2.txt
file3.txt

aral,
@aral@mastodon.ar.al avatar

@4censord It can but I’m not sure how I’d do that and keep a stream open to the browser (I’m streaming the archive to the HTTP response).

(I don’t want to create intermediary files.)

tallship, to random
@tallship@fedia.social avatar

Yes! Yes! Yes!

As the saying goes, "Real BOFH use tar and rsync!"

The blog article is an excellent treatment of using tar along with SSH to effect a reliable backup plan and schedule.

Another couple of great fav GoTo solutions of mine have always been Duplicity and Duply for those not comfortable rolling their own scripts w/SSH, tar, and/or rsync ​:batman:​

Thank you very much for sharing this @nixCraft !!!

#tallship #DR #backup #tar #rsync #SSH #Systems_Administration You can haz #Cheezburgerz! 🍔

.

RE: mastodon.social/users/nixCraft/statuses/112276456842443382

AskPippa, to Canada
@AskPippa@c.im avatar

Canadian banks are leaders in funding fossil fuel expansion, report.
"global analysis on fossil fuel banking. Endorsed by 624 organizations from 75 countries, it reveals the truth of banks’ commitments to the climate by examining their financing of the fuel industry.

For the first time since 2019, a Canadian bank is the #1 annual financier of fossil fuels rather than US bank JP Morgan Chase. Royal Bank of () showered fossil fuel projects with $41 billion dollars in 2022, including $4.8 billion for sands and $7.4 billion into fracking. Canadian banks are becoming the banks of last resort for fossil fuels, providing $862 billion to fossil fuel companies since the Paris Agreement."


https://www.ran.org/press-releases/new-report-canadian-bank-rbc-the-1-financier-of-fossil-fuels-worlds-biggest-banks-continued-to-pour-billions-into-fossil-fuel-expansion/

governa, to linux
@governa@fosstodon.org avatar
governa, to random
@governa@fosstodon.org avatar
Cosmicqbit,
governa,
@governa@fosstodon.org avatar

@Cosmicqbit indeed! 👍

orhun, to rust
@orhun@fosstodon.org avatar

Thanks to this tool I never have to remember the arguments to "tar" anymore ✨

🦀 ouch: Painless compression and decompression in the terminal - written in Rust.

⭐ GitHub: https://github.com/ouch-org/ouch

YesIKnowIT, to zip
@YesIKnowIT@mastodon.social avatar

.tar, .zip, .gz--you already have seen those extensions at the end of archive files, don't you?

But what do they mean? What is the difference between those formats?

https://itsfoss.com/tar-vs-zip-vs-gz/

Garwboy, to Podcast
@Garwboy@ohai.social avatar

Episode 61: “A full brick of British Butter”

https://shows.acast.com/why-does-this-thing-exist-podcast/episodes/episode-61-a-full-brick-of-british-butter

Another cracker this week as
I make Simon ponder the viscosity of tar, and Simon debates the utility of butter, in an episode that ends up being weirdly focused on dense liquids

For the record, this is PHOTOSHOPPED image!

philipdutre, to random Dutch
@philipdutre@mastodon.online avatar

Net de film gezien. Aanrader.

willemsst,
@willemsst@mastodon.social avatar

@philipdutre 💯
En fantastische vertolking van Cate Blanchett, wederom.

EvanHahn, to linux

The tar command is famously hard to use.

To create a tarball, remember "Create A File":

tar -caf my_archive.tar.gz file1.txt file2.png

To extract a tarball, remember "eXtract A File":

tar -xaf my_archive.tar.gz

(This works great on Linux. On macOS and some other systems, the -a flag causes problems during extraction—use -xf instead.)

https://evanhahn.com/mnemonic-to-remember-tar-commands/

JamieMagee, to random

Spent the afternoon investigating something with tar, and tripping over the CLI flags the whole time, reminds me of one of my favourite xkcds

#tar #xkcd

benjaminhollon,
@benjaminhollon@fosstodon.org avatar

@JamieMagee
Looking forward to it! :D

jens,
@jens@toots.nu avatar

@JamieMagee

-xzvf usually works for me.

Learned because of that very comic.

YesIKnowIT, to random
@YesIKnowIT@mastodon.social avatar

.tar, .zip, .gz--you already have seen those extensions at the end of archive files, don't you?

But what do they mean? What is the difference between those formats?

https://itsfoss.com/tar-vs-zip-vs-gz/

grgml, to random

Got around to watching yesterday and really enjoyed it. And this review nails it https://newleftreview.org/sidecar/posts/plenipotentiary

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • osvaldo12
  • ngwrru68w68
  • GTA5RPClips
  • provamag3
  • InstantRegret
  • everett
  • Durango
  • cisconetworking
  • khanakhh
  • ethstaker
  • tester
  • anitta
  • Leos
  • normalnudes
  • modclub
  • megavids
  • lostlight
  • All magazines