Neko

a folder practice



tutorial for my workshop:

❦ expanding tools/materials for drawing/storytelling/world-making

a folder practice



tutorial for my workshop:

❦ expanding tools/materials for

drawing/storytelling/world-making

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

Hide/unhide file

Hide/unhide file

  1. To hide/unhide existing file by attribute, use chflags command in Terminal

  1. To hide/unhide existing file by attribute, use chflags command in Terminal

chflags hidden [REPLACE with file name]         # Hide file
chflags nohidden [REPLACE with file name]       # Unhide file
chflags hidden [REPLACE with file name]         # Hide file
chflags nohidden [REPLACE with file name]       # Unhide file

After typing the command, you can also directly drag the file you want to hide from your desktop or Finder into the Terminal window. The file's path will be added automatically.

After typing the command, you can also directly drag the file you want to hide from your desktop or Finder into the Terminal window. The file's path will be added automatically.

  1. To hide/unhide existing file by name, use mv command in Terminal

  1. To hide/unhide existing file by name, use mv command in Terminal

# mv is a command that can move or rename the file
mv [REPLACE with file name] .[REPLACE with file name]    #Hide file
mv .[REPLACE with file name] [REPLACE with file name]    #Unhide file
# mv is a command that can move or rename the file
mv [REPLACE with file name] .[REPLACE with file name]    #Hide file
mv .[REPLACE with file name] [REPLACE with file name]    #Unhide file
  1. To create a new hidden file, use touch command in Terminal

  1. To create a new hidden file, use touch command in Terminal

# Here, touch command is creating a new hidden empty file. touch command can also update timestamps of existing file
touch

# Here, touch command is creating a new hidden empty file. touch command can also update timestamps of existing file
touch

  1. To make hidden file visible in the folder, use cmd + shift + . and it will show the hidden files in a faded mode.

  1. To make hidden file visible in the folder, use cmd + shift + . and it will show the hidden files in a faded mode.

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

Set password for files

Set password for files

In mac, you can only set passwords to ZIP or DMG file, or you can turn documents and images into PDF and use the PDF built-in password.

In mac, you can only set passwords to ZIP or DMG file, or you can turn documents and images into PDF and use the PDF built-in password.

  1. ZIP: Open Terminal, go to the directory you want this ZIP file to live, and type this command

  1. ZIP: Open Terminal, go to the directory you want this ZIP file to live, and type this command

# zip = the command, -e = encrypt with password, -r = recursive (include subfolders)
zip -er [REPLACE with the name you want].zip [REPLACE with file name or path]
# After pressing Enter on the command, terminal will show:
Enter password:  
# As you type your password here, your cursor blinks, but typing won't show anything
# zip = the command, -e = encrypt with password, -r = recursive (include subfolders)
zip -er [REPLACE with the name you want].zip [REPLACE with file name or path]
# After pressing Enter on the command, terminal will show:
Enter password:  
# As you type your password here, your cursor blinks, but typing won't show anything
  1. DMG: Create password via Disk Utility

  1. DMG: Create password via Disk Utility

Open Disk Utility (Applications > Utilities > Disk Utility), go to File menu > New Image, you can create an empty DMG selecting "Blank Image" or create a DMG from existing file/folder selecting "Image from Folder".

Open Disk Utility (Applications > Utilities > Disk Utility), go to File menu > New Image, you can create an empty DMG selecting "Blank Image" or create a DMG from existing file/folder selecting "Image from Folder".

In "Encryption" select 128-bit or 256-bit AES, and fill in the password.

In "Encryption" select 128-bit or 256-bit AES, and fill in the password.

  1. PDF: Create password in Preview

  1. PDF: Create password in Preview

Open PDF in Preview, go to File > Export, go to "Permission", check "Require Password To Open Document", and enter password.

Open PDF in Preview, go to File > Export, go to "Permission", check "Require Password To Open Document", and enter password.

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

Set up icon for folder

Set up icon for folder

  1. Open your icon image in preview, select the image and copy. Open the folder info, select the folder icon, and paste the image.

  1. Open your icon image in preview, select the image and copy. Open the folder info, select the folder icon, and paste the image.

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

Set up background for folder

Set up background for folder

  1. Right click and open "Show View Options" -> Select "Background: Picture" -> Drag the background image to the box

  1. Right click and open "Show View Options" -> Select "Background: Picture" -> Drag the background image to the box

When you are dragging the image from another folder, make sure the correct folder is on focus.

When you are dragging the image from another folder, make sure the correct folder is on focus.

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

Make an alias/shortcut

Make an alias/shortcut

A Mac alias is a shortcut that points to an original file, folder, application, or disk, allowing you to access it from multiple locations without moving the original item.

A Mac alias is a shortcut that points to an original file, folder, application, or disk, allowing you to access it from multiple locations without moving the original item.

  1. Open your icon image in preview, select the image and copy. Open the folder info, select the folder icon, and paste the image.

  1. Open your icon image in preview, select the image and copy. Open the folder info, select the folder icon, and paste the image.

You can change the icon of the alias and make it look like a regular folder.

You can change the icon of the alias and make it look like a regular folder.

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

Make a DMG

Make a DMG

Why do we need to make a DMG? Why not just zip it?

  • If you directly zip your folder, your folder icons and backgrounds are gonna be lost upon transferring and unzipping

  • DMG is the solution to this issue. However if you make a DMG directly out of your folder from Disk Utility without extra treatment, your backgrounds are still gonna be lost upon transferring.

Why do we need to make a DMG? Why not just zip it?

  • If you directly zip your folder, your folder icons and backgrounds are gonna be lost upon transferring and unzipping

  • DMG is the solution to this issue. However if you make a DMG directly out of your folder from Disk Utility without extra treatment, your backgrounds are still gonna be lost upon transferring.

  1. Important!! Make sure all background image assets for your folder and subfolders are stored within this folder that you are going to make into a DMG

  1. Important!! Make sure all background image assets for your folder and subfolders are stored within this folder that you are going to make into a DMG

  1. Open Terminal, make sure you are currently at the place where your folder is being stored under, and create a temporary DMG of the folder you want.

  1. Open Terminal, make sure you are currently at the place where your folder is being stored under, and create a temporary DMG of the folder you want.

# Create a temporary DMG from your folder
hdiutil create -srcfolder [REPLACE with folder name] -format UDRW -volname

# Create a temporary DMG from your folder
hdiutil create -srcfolder [REPLACE with folder name] -format UDRW -volname

  1. Mount the temporary DMG

  1. Mount the temporary DMG

# Mount the temporary DMG
hdiutil attach temp.dmg

# Check that it mounted - you should see your volume name listed
ls

# Mount the temporary DMG
hdiutil attach temp.dmg

# Check that it mounted - you should see your volume name listed
ls

  1. Go to Finder and open your mounted volume

  1. Go to Finder and open your mounted volume

  1. Set up backgrounds for folder and subfolders, make sure your assets are located in the mounted volume, not from desktop or other folders.

  1. Set up backgrounds for folder and subfolders, make sure your assets are located in the mounted volume, not from desktop or other folders.

  1. Close this Finder window of your folder (important!)

  1. Close this Finder window of your folder (important!)

  1. Make sure Finder saves all settings

  1. Make sure Finder saves all settings

sync
sleep 5
sync
sleep 5
  1. Unmount the temporary DMG

  1. Unmount the temporary DMG

# Eject the DMG
hdiutil detach /Volumes/[REPLACE with volume name]

# If you get "Resource busy" error, force it:
hdiutil detach /Volumes/[REPLACE with volume name] -force
# Eject the DMG
hdiutil detach /Volumes/[REPLACE with volume name]

# If you get "Resource busy" error, force it:
hdiutil detach /Volumes/[REPLACE with volume name] -force
  1. Create the actual final DMG

  1. Create the actual final DMG

# Convert to compressed read-only DMG
hdiutil convert temp.dmg -format UDZO -o

# Convert to compressed read-only DMG
hdiutil convert temp.dmg -format UDZO -o

  1. Clean up

  1. Clean up

# Delete the temporary DMG
rm

# Delete the temporary DMG
rm

  1. (optional) Create and icon for your DMG

  1. (optional) Create and icon for your DMG

If you want to have a nice little icon for you DMG, you will need to:

  1. copy the icon image in the DMG info

  2. zip the DMG before you upload /send your DMG to somewhere else

  3. and upload/send the zipped version of the DMG

If you want to have a nice little icon for you DMG, you will need to:

  1. copy the icon image in the DMG info

  2. zip the DMG before you upload /send your DMG to somewhere else

  3. and upload/send the zipped version of the DMG

  1. Upload this to google drive or send it to somebody, download and test : )

  1. Upload this to google drive or send it to somebody, download and test : )

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣

✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣✣