Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    9

    Unanswered: Extract File Name from FIND command

    How do i extract ONLY the file name from a FIND command ?

  2. #2
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    find . -exec basename {} \;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •