K.S. Bhaskar via plug on 29 Oct 2020 15:19:47 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Copying files to multiple volumes |
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