Walt Mankowski via plug on 29 Oct 2020 15:56:18 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Copying files to multiple volumes


That, plus none of the ideas that were suggested, while quite clever,
really worked very well for my situation.

On Thu, Oct 29, 2020 at 06:19:29PM -0400, K.S. Bhaskar via plug wrote:
> Ah yes, the old “You don't need a hammer when a plumber's wrench will do
> the job” technique! :-)
> 
> Regards
> – Bhaskar
> 
> On Thu, Oct 29, 2020 at 5:29 PM Walt Mankowski via plug <
> plug@lists.phillylinux.org> wrote:
> 
> > Thanks, but that's not what I'm looking for. I don't need a bit-by-bit
> > copy of a drive; I want to copy a zillion subdirectories.
> >
> > What I ended up doing is loading the output of `df -b --max-depth=1`
> > into a spreadsheet. I found a cutoff a little below the free space on
> > the external drive, then wrote a shell script to rsync the first 20,000 or
> > so
> > subdirectories to the hard drive.
> >
> > In other words, just dumb brute force.
> >
> > On Thu, Oct 29, 2020 at 05:01:50PM -0400, Michael Lazin via plug wrote:
> > > I don't know if this will help you but this is a problem which forensic
> > > investigators have when copying very large volumes for analysis.  This is
> > > an example of how you can do it with the dd command.  It may prove to be
> > > helpful.
> > http://www.cyber-forensics.ch/acquiring-data-with-dd-dcfldd-dc3dd/
> > >
> > > On Thu, Oct 29, 2020, 12:19 PM Rich Freeman via plug <
> > > plug@lists.phillylinux.org> wrote:
> > >
> > > > On Thu, Oct 29, 2020 at 12:09 PM Walt Mankowski via plug
> > > > <plug@lists.phillylinux.org> wrote:
> > > > >
> > > > > Adding to the confusing is that `df -h` and `du -h` just show the
> > > > > first letter, and can use either 1000 or 1024 depending on which
> > > > > parameters you use.
> > > >
> > > > Oh, that's totally ok because all you need to do is pipe the broken
> > > > output into something else to fix it...
> > > >
> > > > https://lists.gnu.org/archive/html/bug-coreutils/2017-08/msg00047.html
> > > >
> > > > --
> > > > Rich
> > > >
> > ___________________________________________________________________________
> > > > Philadelphia Linux Users Group         --
> > > > http://www.phillylinux.org
> > > > Announcements -
> > > > http://lists.phillylinux.org/mailman/listinfo/plug-announce
> > > > General Discussion  --
> > > > http://lists.phillylinux.org/mailman/listinfo/plug
> > > >
> >
> > >
> > ___________________________________________________________________________
> > > Philadelphia Linux Users Group         --
> > http://www.phillylinux.org
> > > Announcements -
> > http://lists.phillylinux.org/mailman/listinfo/plug-announce
> > > General Discussion  --
> > http://lists.phillylinux.org/mailman/listinfo/plug
> >
> > ___________________________________________________________________________
> > Philadelphia Linux Users Group         --
> > http://www.phillylinux.org
> > Announcements -
> > http://lists.phillylinux.org/mailman/listinfo/plug-announce
> > General Discussion  --
> > http://lists.phillylinux.org/mailman/listinfo/plug
> >

> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

Attachment: signature.asc
Description: PGP signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug