FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Terminal Tip 🤩 fcopy, fcut, fpaste
NewsTools

Terminal Tip 🤩 fcopy, fcut, fpaste

via Dev.toFredy Sandoval20h ago

If you are like me and love the terminal, start using fcopy , fcut , fpaste how does it work, instead of copying through a file explorer, just do: $ fcopy some/file/ $ fcopy other/file/image.png then open other terminal and do: $ fpaste fcopy () { if [ "$#" -eq 0 ] ; then echo "fcopy: nothing to copy" return 1 fi tmp = " $( mktemp ) " printf 'copy\n' > " $tmp " for item in " $@ " ; do if [ -e " $item " ] ; then abs = " $( realpath " $item " ) " printf '%s\n' " $abs " >> " $tmp " echo "copied to clipboard: $abs " else echo "fcopy: not found: $item " > &2 fi done mv " $tmp " ~/.fileclip } fcut () { if [ "$#" -eq 0 ] ; then echo "fcut: nothing to cut" return 1 fi tmp = " $( mktemp ) " printf 'move\n' > " $tmp " for item in " $@ " ; do if [ -e " $item " ] ; then abs = " $( realpath " $item " ) " printf '%s\n' " $abs " >> " $tmp " echo "cut to clipboard: $abs " else echo "fcut: not found: $item " > &2 fi done mv " $tmp " ~/.fileclip } fpaste () { [ -f ~/.fileclip ] || { echo "fpaste: file c

Continue reading on Dev.to

Opens in a new tab

Read Full Article
3 views

Related Articles

News

Gothub is live

Lobsters • 12h ago

I Built the Tool I Wish I Had When I Started My Open Source Journey
News

I Built the Tool I Wish I Had When I Started My Open Source Journey

Medium Programming • 12h ago

Razer Boomslang 20th Anniversary Mouse Review: For Collectors
News

Razer Boomslang 20th Anniversary Mouse Review: For Collectors

Wired • 13h ago

How Bug Bounty Hunters Prioritize 10,000 Recon Targets (Without Losing Their Mind)
News

How Bug Bounty Hunters Prioritize 10,000 Recon Targets (Without Losing Their Mind)

Medium Programming • 13h ago

Microsoft Hasn’t Had a Coherent GUI Strategy Since Petzold
News

Microsoft Hasn’t Had a Coherent GUI Strategy Since Petzold

Lobsters • 14h ago

Discover More Articles