[Intro]
Hello everyone! Welcome back to Mr. Random
Generator
i recently had an issue with my usb
drive won't recognized on my macbook so
let me
demonstrate it real quick let's open
disk utility
then plug my usb drive in
let's wait for a few seconds for it to
recognize as you can see it shows up
there but
i wasn't able to mount it and access the
files inside that
also a side note that this drive is
currently formatted in
exfat so it should be recognized in my
macbook
so i actually find an easy solution for
this problem
which involves using a program named
testdisk
as you can see this is it's a the
website of it
and this is the place where you can
download the program
and the great thing about this program
is it is open sourced and
it doesn't behind any payables or
subscriptions or some ridiculous stuff
like that
so to use that uh you can just uh
directly download it by a compressed
file and then extract it
then you get a normal folder and when
you go inside that
you can get by this
approach or i prefer
using a terminal
and a home brew what you can do is
you can do brew install
testdisk and once you executed that it
will install the test disk
but i've done that so i won't be doing
that now
to use the program you need to
run in root privileges so you need to do
sudo
test disk and it will ask you for your
passwords
let's enter that and once that's done
you'll create it with this screen
so uh there you have three options
it will those options are basically the
logging options so
let's for now just don't log anything
and don't record basically
so let's choose that then we got the
list of drives
the the important thing to notice that
is there
previously i've used the first port on
my pc so
it will correspond to this tree but
currently it is
plugged in the second part so now it
will be disk four
and also side note i've made some few
tests and
the hard disk versions the does not
always working properly so
let's choose the corresponding one which
is the dev
disk 4 in my case so let's choose that
and after that
it will ask you to choose the partition
map basically so in our case it is efi
gpt and it will also
recognize this down below so let's
choose that and if you have another
option
you can go with that as well
after that we have some advanced options
some other stuff but
the thing that we want to basically
select is
we generally want to select is analyze
so let's select that
and then we can have quick search option
so let it scan for a few minutes and it
will show us the
data so once that's done
you'll get to this screen and it will
show you the
partitions that it found and
which has data in it so as you can see
we have a fat32
partition and xf partition which is our
the where our data is inside there
because you can see the
data size is really ridiculously high
compared to the
efi system partitions so to choose that
we just
go select this with down arrow and we'll
hit
p do not hit enter so just hit p
to this the pro list the contents of it
so as you can see those are the contents
so
what you can do is you can just
type a to select all and type a again to
deselect and
you can just copy all in one go or
in my preferred way you can just copy it
one by one and i think that
copying everything that in one go is not
a great idea
because some errors may occur especially
if you're
data has some folder structure in it so
let's uh look at
in this example i have logo file and if
i go inside that by
type pressing enter i get some few files
right there so let's uh
transfer my transparent logo so i can
just hit
colon then to select the file basically
then i can shift c to press capital c
then go over to my destination which i
will be choosing
is the desktop and let's copy it inside
there
and we confirm that action by again
capital c so as you can see copy down
and it will transfer the
logo with the transparent 3mg logo
and if i open that as you can see
the my logo will show up so
that's basically it you can actually
go back with q to have more options you
can make
a deeper search and
it will all be this program is obviously
much more complicated than that so i
will provide
the documentation link in the down below
as well which will show you the all the
detailed
stuff inside the program and
i hope you enjoyed this video if you
find it helpful please make sure to hit
the like
button and consider subscribing see you
next time
take care!