every one so you want to zip up files
you want to be able to password protect
those files I'm gonna show you how in
this video it's going to be kind of fun
definitely leave comments at the end if
you have other ways that you've done it
or if you've cracked open these files
and use different tools I'd love to hear
all your guys's experiences on that
stuff I'll definitely provide my
feedback as well one of the things I did
want to mention to you guys is that I'm
really shooting for with this channel
and I'm hoping to get everybody
subscribe because once I get to the
point where I'm making money off this
thing I'm gonna start I'm my goal is I
want to fly people out right to my place
hang out geeked out over whatever they
want to learn I mean we could go over
smart home technology we can go over
Apple technology we can go over just
overall security technology programming
stuff all sorts of stuff so we can just
kick out do whatever you want to do for
a day or two and and have some fun but
the only way I'm going to get there is
if I get you subscribed and watching the
content liking the content commenting on
the content the faster that happens the
faster I'm going to be able to start
picking people to do that and at some
point I honestly my goal is to like be
able to have like a group of people come
out you know for a weekend and and and
honestly like have some of the engineers
I work with come out and work with all
of us as well so I would just love to do
that that would be just sweet all right
let's get into this let's zip up some
stuff so we are gonna start off doing it
kind of the easy way the way that's just
right in the finder if I want to zip up
this file right here I'm gonna hold down
ctrl click on it and I'm gonna hit
compress
and that will zip up the file in this
location and if I were to delete this
file double-click this file again it
will unzip and I have it again now if I
can also do that with this forward if I
want a cool thing that you can do in the
finder is you can select these two items
click ctrl and it changes and you can
compress both the items into what's
called an archived zip now I can double
click this archived data
it's a folder that has my two items that
I zipped up so now let me just delete
these try to keep this cleaned up here
alright so now I want to get in to the
funner stuff and that requires us to
open up the terminal and do a couple
commands no big deal super easy command
space bar type in terminal man plus the
blow that guy up and the command we're
gonna use is the zip command to zip up
this file and then I'll also show you
how to unzip it as well so right off the
bat we're gonna type o zip and if I drag
this file on here I'm first defining the
name of the file that I'm going to name
for this compressed file I am naming it
zip me file PT PDF dot zip at that
location and then I'm doing a space and
I'm compressing it with that file
so I'm gonna hit return you're gonna see
that it creates a zipped file the thing
that is wrong with this file well it's
not really wrong it's just the way it
works if I double click this you're
gonna see that I have a users forward
that users folder I have to dig down
into and there's my file if I don't want
all those directories I can run that
command with an option command K to
clear the screen arrow up to get the
last command back an option key to get
me the crosshairs so I can go behind
that zip and I'm gonna do a - J - J is
whoops one sec here and get rid of those
files - J is going to get rid of those
junk directories okay so when I zip it
up so it's gonna zip up and now I'm
gonna delete that file double click this
and you're gonna see that it's just the
file right so I got rid of those so I
can do that same thing with the the zip
me fold is go like this zip - are for
recursive whenever you're doing a folder
and if that folder has folders or
directories within it and there you need
to recursively compress throughout
otherwise you just get that top level
directory all right so we're doing
recursive we cannot do the - J
so we're just going to drag this folder
we're creating a name dot zip and then
we're giving it a source and it's that
folder I'm gonna hit go oh I want to get
rid of this file real quick just trying
to keep it clean and we're gonna see
that we have this directory this
directory are the zip file the zip file
has the users directory in it so if I
double click this you're gonna see it
there it is it's the whole thing let's
get to password protecting this thing
all right so let me clear the let me
clear the screen command K I haven't
said that ten times already
zip - e for encryption and to create a
password and then we're going to also do
the - J because I want to make sure that
I don't have the junk directories a
space right there ctrl e to go to the
end got zip Drake that file on there
again I'm gonna delete all this stuff
all right so what do we have here we
have zip or or password protecting it
with the encryption and we're getting
rid of the junk directories cuz we just
want the file itself when I double click
on that so I'm gonna hit go it's gonna
ask me for a password just as one two
three four but I've never actually used
that hit enter one two three four hit
enter and there is my password protected
file let's double click that guy it's
gonna ask me for the password
one two three four let me delete this
one first click OK
and boom fire was back I can even use
unzip when I drop it on the desktop get
rid of that file just to show and then
give it a source oh I gotta give the
minus D option for the directory it's
gonna ask me for the password at the
command line one two three four and boom
there's the file pretty slick huh
pretty easy not too bad let me know in
the comments if you have a better way or
some cool things that you've done and
honestly get signed up you guys get
subscribed so I can grow this thing get
you sitting next to me that would be
just crazy man I don't even know any of
you guys but that would be just super
crazy to be able to just teach people
from around the world I'd love it
honestly
so get subscribed I hope you liked the
video have an awesome week and I will
chat with you next week take care
you