
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
2Thumbnail

Search Engine Appearance
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

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- titlecopy specific files and count them - not as easy as it seems! - Shell Programming and Scripting - Unix Linux Community
- charsetutf-8
- descriptionHi 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…
- generatorDiscourse 3.5.0.beta9-dev - https://github.com/discourse/discourse version f9d06a78eb46b5961b5795cde71cfb3652d30fd9
- theme-color#1a1a1a
Open Graph Meta Tags
9- og:site_nameUnix Linux Community
- og:typewebsite
- og:imagehttps://community.unix.com/uploads/default/original/2X/c/c7e9e16a595259edafe88615719d5c5dcda035c2.png
- og:urlhttps://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638
- og:titlecopy specific files and count them - not as easy as it seems!
Twitter Meta Tags
9- twitter:cardsummary
- twitter:imagehttps://community.unix.com/uploads/default/original/2X/c/c7e9e16a595259edafe88615719d5c5dcda035c2.png
- twitter:urlhttps://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638
- twitter:titlecopy specific files and count them - not as easy as it seems!
- twitter:descriptionHi 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- position1
- headlinecopy specific files and count them - not as easy as it seems!
- datePublished2011-04-19T15:16:13Z
- articleSectionShell Programming and Scripting
- keywords
Link Tags
34- alternate nofollowhttps://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638.rss
- apple-touch-iconhttps://community.unix.com/uploads/default/optimized/2X/c/c7e9e16a595259edafe88615719d5c5dcda035c2_2_180x180.png
- canonicalhttps://community.unix.com/t/copy-specific-files-and-count-them-not-as-easy-as-it-seems/286638
- iconhttps://community.unix.com/uploads/default/optimized/3X/b/a/ba9f6ddb0602a47c494e2f487802b5f9b50cb2c6_2_32x32.png
- searchhttps://community.unix.com/opensearch.xml
Links
12- https://community.unix.com
- https://community.unix.com/c/shell-programming-and-scripting/20
- https://community.unix.com/categories
- https://community.unix.com/guidelines
- https://community.unix.com/privacy