http:\/\/discoverlosgatos.com\/?p=36298<\/a><\/p>\nIn my desktop I have many file that name like this : <\/p>\n
fr_FR.deb fl_IT.deb
\nOculus Rift v2.1.12s.rar
\nMurlenslak free download 2015 Vivid WorkshopData ATI 12.1.rar crack.rar hit.rar<\/p>\n
I want to find all file that contains in my Desktop or in Downloads and Create Folder and put into this folder
\nI know <\/p>\n
xargs -I{} -n1 -t -A -A -n1 -d”{}” find ~\/Desktop -name ‘*.rar’ -exec cp -t ~\/temp\/{} “{}” \\;<\/p>\n
How can i find all file that named like this(full,update,crack,rar,hit) and put all of these file into folder named as I want.<\/p>\n
A:<\/p>\n
find ~\/Desktop -name ‘*.rar’ -exec cp -t ~\/temp\/{} “{}” \\;<\/p>\n
If you really want to do it with GNU tools, then do:
\nfind ~\/Desktop -name ‘*.rar’ -exec sh -c ‘
\n for f; do
\n target=”${f%.*}”
\n f=”${f#* }”
\n case ${f:t} in
\n rar ) echo “$target” ; f=”${f%.rar.*}”;;
\n zip ) echo “$target” ; f=”${f%.*}”;;
\n rar | cut -f 3 ) echo “$target” ; f=”${f%.rar.*}”;;
\n zip | cut -f 3 ) echo “$target” ; f=”${f%.*}”;;<\/p>\n","protected":false},"excerpt":{"rendered":null,"protected":false},"author":86,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[1777],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/posts\/12407"}],"collection":[{"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/users\/86"}],"replies":[{"embeddable":true,"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/comments?post=12407"}],"version-history":[{"count":1,"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/posts\/12407\/revisions"}],"predecessor-version":[{"id":12408,"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/posts\/12407\/revisions\/12408"}],"wp:attachment":[{"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/media?parent=12407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/categories?post=12407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iselinfamilylaw.com\/wp-json\/wp\/v2\/tags?post=12407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}