Re: Multiple files MV'd into one
On 08/06/2008, Steve King <steve.king@mgsk.com.au> wrote:
> Got a bit of an issue with one of my system users. They have
> accidentally moved multiple files from 1 directory, into a single file
> in another.
Can we have more details on how this happened? mv won't let you move
many files into one; if there are many operands to move, the last one
must be a directory. Were all the files catted into a larger one?
> Any advice or suggestions on how to fetch them out? I was thinking of
> using something to find the EOF's within the larger file and then
> splitting at that byte point,
This won't work unless the big file is in some weird way; catting a
bunch of files into a big one doesn't introduce EOFs at each cat
point.
- Jordi G. H.
Reply to: