blog@eriköjebo.se

/lambλda/calculus/

$ login
$ ls -d /*/
  • /CodeBlog
  • /FamilyBlog
  • /AboutMe
  • /ContactMe
  • $ cat "

    Linux Tip: Copy File Found by Find

    "

    Here is one way to find a file and copy it in one command:

    cp `find /directory/to/search/ -name SomeFilename.txt`  /destination/path
    Written by Erik Öjebo 2012-10-16 09:27 Comments (0)
Previous Next
$ info

Erik Öjebo

I'm a programmer, father, consultant and emacs enthusiast living in Örebro, Sweden. I specialize in .NET development using agile practices. I spend my time working on open source software and learning interesting programming languages such as lisp, ruby and haskell (using emacs, of course). More

profile for Erik Öjebo at Stack Overflow, Q&A for professional and enthusiast programmers
x