community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638

Preview meta tags from the community.unix.com website.

Linked Hostnames

2

Thumbnail

Search Engine Appearance

Google

https://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638

copy specific files and count them - not as easy as it seems!

Hi all: Here’s my dilemma: to identify files of a specific type, copy them to a new location while preserving the original file attributes (date, time, full path, etc), and at the same time capture the count of the num…



Bing

copy specific files and count them - not as easy as it seems!

https://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638

Hi all: Here’s my dilemma: to identify files of a specific type, copy them to a new location while preserving the original file attributes (date, time, full path, etc), and at the same time capture the count of the num…



DuckDuckGo

https://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638

copy specific files and count them - not as easy as it seems!

Hi all: Here’s my dilemma: to identify files of a specific type, copy them to a new location while preserving the original file attributes (date, time, full path, etc), and at the same time capture the count of the num…

  • General Meta Tags

    9
    • title
      copy specific files and count them - not as easy as it seems! - Shell Programming and Scripting - Unix Linux Community
    • charset
      utf-8
    • description
      Hi all: Here’s my dilemma: to identify files of a specific type, copy them to a new location while preserving the original file attributes (date, time, full path, etc), and at the same time capture the count of the num…
    • generator
      Discourse 3.5.0.beta9-dev - https://github.com/discourse/discourse version f9d06a78eb46b5961b5795cde71cfb3652d30fd9
    • theme-color
      #1a1a1a
  • Open Graph Meta Tags

    9
    • og:site_name
      Unix Linux Community
    • og:type
      website
    • og:image
      https://community.unix.com/uploads/default/original/2X/c/c7e9e16a595259edafe88615719d5c5dcda035c2.png
    • og:url
      https://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638
    • og:title
      copy specific files and count them - not as easy as it seems!
  • Twitter Meta Tags

    9
    • twitter:card
      summary
    • twitter:image
      https://community.unix.com/uploads/default/original/2X/c/c7e9e16a595259edafe88615719d5c5dcda035c2.png
    • twitter:url
      https://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638
    • twitter:title
      copy specific files and count them - not as easy as it seems!
    • twitter:description
      Hi all: Here's my dilemma: to identify files of a specific type, copy them to a new location while preserving the original file attributes (date, time, full path, etc), and at the same time capture the count of the number of files identified as a variable for later reporting. Here's where I am so far: find . -type f -iname '*.xls*' | tee wc -l | cpio -dumpv /destination_path I know that to capture the output of wc -l as a variable, I need to enclose the command in backticks: xlscnt=`find ....
  • Item Prop Meta Tags

    37
    • position
      1
    • headline
      copy specific files and count them - not as easy as it seems!
    • datePublished
      2011-04-19T15:16:13Z
    • articleSection
      Shell Programming and Scripting
    • keywords
  • Link Tags

    34
    • alternate nofollow
      https://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638.rss
    • apple-touch-icon
      https://community.unix.com/uploads/default/optimized/2X/c/c7e9e16a595259edafe88615719d5c5dcda035c2_2_180x180.png
    • canonical
      https://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638
    • icon
      https://community.unix.com/uploads/default/optimized/3X/b/a/ba9f6ddb0602a47c494e2f487802b5f9b50cb2c6_2_32x32.png
    • search
      https://community.unix.com/opensearch.xml

Links

12