Skip to content

Instantly share code, notes, and snippets.

@wilyJ80
Last active November 23, 2025 14:27
Show Gist options
  • Select an option

  • Save wilyJ80/17077f7a2777d96a793f2fab2403e5e3 to your computer and use it in GitHub Desktop.

Select an option

Save wilyJ80/17077f7a2777d96a793f2fab2403e5e3 to your computer and use it in GitHub Desktop.
Move most recent download to desired directory
ls -dt ~/Downloads/* | head -n1 | xargs cp -t docs/opcionai
s/ambiente-de-negocios-e-marketing/pellegrino/material-estudo/
# BETTER:
# cp "$(ls -td ~/Downloads/* | head -n1)" docs/opcionais/ambiente-de-negocios-e-marketing/pellegrino/material-estudo/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment