Skip to content

Instantly share code, notes, and snippets.

@bil9000
Last active June 27, 2021 18:10
Show Gist options
  • Save bil9000/0f9028d0cfeaa78c52df37eaf5415145 to your computer and use it in GitHub Desktop.
Save bil9000/0f9028d0cfeaa78c52df37eaf5415145 to your computer and use it in GitHub Desktop.
flatten folders, de-hierarchize your stuff, get you junk out of the trunks.

useful commands series

flatten folders, de-hierarchize your stuff, get your junk out of the trunks.

echo "This pulls your attachemnets for imessage out of the sub-folders and oput it in the main one. needst to be run one outside (above) attachments."

find ~/Library/Messages/Attachments/ -mindepth 2 -type f -exec mv '{}' ~/Library/Messages/Attachments/ ';'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment