Re: Tar presentation

4 messages · started by HateNo Hama on Mar 31, 2022

Re: Tar presentation

From HateNo Hama · Mar 31, 2022

Hi Terry.  Can you send me the bash script your used in your presentation on tar?  I have a coworker who would like to try it out for a large file copy.

Thank you!

Bruce

On Mon, Mar 28, 2022, 12:22 PM Teruel deCampo <drdecampo@gmail.com> wrote:
Quoted reply (10 lines)
https://www.tomsguide.com/news/chrome-99-emergency-patch?utm_source=SmartBrief&amp;utm_medium=email&amp;utm_campaign=E7CCEEA1-DDFE-442F-85F9-6D317BC29EC0&amp;utm_content=F22B0787-1964-41E3-8E13-8D2A2B7A2C04&amp;utm_term=3059a145-3d30-430d-bfd2-7d98b4c8362f
My Chromium was
Version 99.0.4844.64

View original on FreeLists

Re: Tar presentation

From HateNo Hama · Mar 31, 2022

Hi Terry.  Can you send me the bash script your used in your presentation on tar?  I have a coworker who would like to try it out for a large file copy.

Thank you!

Bruce

On Mon, Mar 28, 2022, 12:22 PM Teruel deCampo <drdecampo@gmail.com> wrote:
Quoted reply (10 lines)
https://www.tomsguide.com/news/chrome-99-emergency-patch?utm_source=SmartBrief&amp;utm_medium=email&amp;utm_campaign=E7CCEEA1-DDFE-442F-85F9-6D317BC29EC0&amp;utm_content=F22B0787-1964-41E3-8E13-8D2A2B7A2C04&amp;utm_term=3059a145-3d30-430d-bfd2-7d98b4c8362f
My Chromium was
Version 99.0.4844.64

View original on FreeLists

Re: Tar presentation

From Teruel deCampo MD · Mar 31, 2022

Bruce,

Here the script. I include comments below that explain how it works, of
course they all can be removed.

Of course speed depends on type or file (size). The default tar bloc is
512, when you use tar for its original intent use, you can change it
with (-b) but this is not the case here.

t,
-----------------------------------------------------
#!/bin/sh
# ./copiar FROMThisDirectory TOthisdirectory
# use the path for each directory
# do not place copiar in neither of those directory trees

time tar -C "$1" -cf - .| tar -C "$2" -xpf -

# -C Diretory and is order-sensitive so it affects all options that
follow.

# "$1" Argument #1 which in our case is the directory FROM to copy

# c is tar create. Replace * by . to include hidden files as well. So
(.) includes all the file included the dotit files.

# dot (.) means add the entire current directory (including hidden
files and sub-directories).

# (|) pipe command

# "$2" Argument #2 which is the TO directory

# x: extract
# p: preserve-permissions
# f Archive If the Archive variable specified is - (minus sign), the
tar command writes to standard output in this case

-------------------------------------------------------

On Thu, 2022-03-31 at 09:21 -0700, HateNo Hama wrote:
Quoted reply (24 lines)
Hi Terry.  Can you send me the bash script your used in your
presentation on tar?  I have a coworker who would like to try it out
for a large file copy.
Hi Terry.  Can you send me the bash script your used in your
presentation on tar?  I have a coworker who would like to try it out
for a large file copy.

Thank you!

Bruce

On Mon, Mar 28, 2022, 12:22 PM Teruel deCampo <drdecampo@gmail.com>
wrote:
> https://www.tomsguide.com/news/chrome-99-emergency-patch?utm_source=SmartBrief&amp;utm_medium=email&amp;utm_campaign=E7CCEEA1-DDFE-442F-85F9-6D317BC29EC0&amp;utm_content=F22B0787-1964-41E3-8E13-8D2A2B7A2C04&amp;utm_term=3059a145-3d30-430d-bfd2-7d98b4c8362f
> 
> My Chromium was 
> Version 99.0.4844.64
> I just upgraded to 
> Version 99.0.4844.84
> 
> Who is affected:
> 1. Chrombooks
> 2. Chromium /Chrome
> 3. Windows Edge
> 
> -=Teruel=-
> 
--------------------------------------------------------------------
Cochise Linux Users Group Mailing List - cochiselinux@freelists.org
For more information: https://cochiselinuxusergroup.org/
Mailing List Archive: https://www.freelists.org/archive/cochiselinux
To unsubscribe: //www.freelists.org/list/cochiselinux

View original on FreeLists

Re: Tar presentation

From HateNo Hama · Mar 31, 2022

Thanks, Terry!

On Thu, Mar 31, 2022, 3:32 PM Teruel deCampo MD <drdecampo@gmail.com> wrote:
Quoted reply (57 lines)
Bruce,
Here the script. I include comments below that explain how it works, of
course they all can be removed.
Bruce,

Here the script. I include comments below that explain how it works, of
course they all can be removed.

Of course speed depends on type or file (size). The default tar bloc is
512, when you use tar for its original intent use, you can change it
with (-b) but this is not the case here.

t,
-----------------------------------------------------
#!/bin/sh
# ./copiar  FROMThisDirectory TOthisdirectory
# use the path for each directory
# do not place copiar in neither of those directory trees


time tar -C "$1" -cf - .| tar -C "$2" -xpf -

# -C  Diretory and is order-sensitive so it affects all options that
follow.

# "$1"  Argument #1 which in our case is the directory FROM to copy

# c is tar create.  Replace * by . to include hidden files as well. So
(.) includes all the file included the dotit files.

# dot (.) means add the entire current directory (including hidden
files and sub-directories).

# (|) pipe command

# "$2" Argument #2 which is the TO directory

# x: extract
# p: preserve-permissions
# f Archive  If the Archive variable specified is - (minus sign), the
tar command writes to standard output in this case

-------------------------------------------------------


On Thu, 2022-03-31 at 09:21 -0700, HateNo Hama wrote:
Hi Terry.  Can you send me the bash script your used in your
presentation on tar?  I have a coworker who would like to try it out
for a large file copy.

Thank you!

Bruce

On Mon, Mar 28, 2022, 12:22 PM Teruel deCampo <drdecampo@gmail.com>
wrote:
> https://www.tomsguide.com/news/chrome-99-emergency-patch?utm_source=SmartBrief&utm_medium=email&utm_campaign=E7CCEEA1-DDFE-442F-85F9-6D317BC29EC0&utm_content=F22B0787-1964-41E3-8E13-8D2A2B7A2C04&utm_term=3059a145-3d30-430d-bfd2-7d98b4c8362f
>
> My Chromium was
> Version 99.0.4844.64
> I just upgraded to
> Version 99.0.4844.84
>
> Who is affected:
> 1. Chrombooks
> 2. Chromium /Chrome
> 3. Windows Edge
>
> -=Teruel=-
>

--------------------------------------------------------------------
Cochise Linux Users Group Mailing List - cochiselinux@freelists.org
For more information:  https://cochiselinuxusergroup.org/
Mailing List Archive: https://www.freelists.org/archive/cochiselinux
To unsubscribe: //www.freelists.org/list/cochiselinux

View original on FreeLists


Previous thread · Next thread

Back to March 2022