Seach and copy files from selected subfolder

Hi,
We had some performance issue while looking for files in a folder(Archive) which have more than 600000 subfolders.
Daily these subfolder get created and we want to look for files inside those subfolder which are created in this year (2014).
there are only around 30000 subfodler created in 2014. is there any way to direct get-childtimes cmd to search files only in subfolder created in 2014.
Thanks

filename.txt is having list of filename (unique filename ) that need to be searched.
As I have told, total around 600000+ subfolder are present and around 30000 subfolder are of 2014.
Archive folder is containing ONLY subfolders and each subfolder is having one file. we want to copy some files whose name are listed in filename.txt to local folder.
net use X: "Network\Folder(Archive)"
I am creating logical X: drive for network folder "Archive" through cmd prompt.
in powershell
X:> Get-Content -path filename.txt | `
ForEach-Object { Get-ChildItem -r -File $_ } | % { Copy-Item -Path $_.FullName -Destination <out-folder>

Similar Messages

  • See and copy files from a Power Mac without keyboard and monitor

    A friend gave me his G4 Power Mac. I think it is a Quicksilver. (I will post some pics of both the front and back on Flickr if anyone wants to see it.) I didn't get the keyboard or monitor cuz I forgot I would need the keyboard to use Firewire Target Disc mode on it. I just need to see what files are on it (and probably copy whatever ones I need onto my newer Powerbook.)
    I have a 17" Powerbook G4 DL and a Powerbook Firewire (500mhz, running OS 9.2.2), and another G4 Power Mac ADP set up to always start up in Firewire Target Mode so I can use it like an external drive (which I never do...) and a bunch of older Macs (LC 580, SE...)
    How can I get onto this new machine? I need to see what files are on there. I do not have access to another monitor but I might be able to borrow a USB keyboard so I can start it up in Target Mode. Is there anything I can do before I scrounge for a USB keyboard?
    I have tried connecting by Firewire and ethernet with both Powerbooks. The Power Mac isn't showing up either way. I am pretty sure it has a CD drive but pushing on the door (one of two on the front) doesn't open it up.
    I am assuming the Power Mac is running OSX.
    Many thanks.
    Cheers,
    John L
    Message was edited by: John Lippincott

    I think it is a Quicksilver
    It may be easier to look at the rear panel for some labeling. It may be silk-screened on with white paint and a bit hard to see.A four-digit model number with "M" as a leader will pretty much nail down the model without taking photos that may not show much.Quicksilvers can have models number M8360, M8493, or M8493 depending on the config.
    For snopping the drive, it may be easier to pull the drive from the G4 and use one of these extremely handy gadgets:
    http://eshop.macsales.com/item/Newer%20Technology/U2NV2SPATA/
    to mount the bare G4 drive on your working PowerBook with OSX. It will show up on the PB as an external drive and you can see what's there. The adaptor will be serviceable for more than just checking this hard drive. Anyone with multiple Macs will get a lot of use from it.
    Remember that some third-party keyboards do not recognize Mac start-up key combos, and that some current Aluminum Apple boards may not work correctly with older Macs. The Al board with numeric keypad (here) says it will work with Tiger. The wireless ones and the short "non-keypad" version require Leopard or higher.

  • Upload and Copy files using PLSQL.

    Hi All,
    Can UTL package can be used to upload any local data file to server?
    Or is there any in-built package which can be used to upload files to servers and copy files to another directory?
    Thanks in advance.

    Avishek wrote:
    Thanks.
    But i've a requirement to upload and copy files from one directory to another.
    How can i approach?Realize we only know what you post & so far you have posted NOTHING useful.
    How exactly does end user interact with the DB?
    3-tier application?
    EndUser<=>browser<=>WebServer<=>ApplicationServer<=>DatabaseServer
    What OS name & version for client system?
    Handle:      Avishek
    Email:      [email protected]
    Status Level:      Newbie (5)
    Registered:      Jun 3, 2008
    Total Posts:      68
    Total Questions:      27 (16 unresolved)

  • I able to copy and paste files from external hard drive to mac, but not the other way around. Please suggest. Thanks

    I m able to copy and paste selected files from external hard drive to my mac but not the other way around. Im not able to copy files from Mac to external hard drive.
    The same is working fine with USB flash memory.
    Please help.

    Vijay Raymond Daniel wrote:
    The only thing is we need to buy this software. if there is a free solution to inter change files between NTFS and HFS it would be better,
    Don't use NTFS, remove your data off it first and change the format to something the Mac and PC can read, but doens't cost money or require software.
    Drives, partitions, formatting w/Mac's + PC's

  • I have macbook pro 13" I want to know how to copy files from my mac to the external Toshiba Hard Drive. I can't even delete files from my external hard drive. please help me my macbook HD is almost full and I have to copy my images to the Toshiba HD

    I have macbook pro 13" I want to know how to copy files from my mac to the external Toshiba Hard Drive. I can't even delete files from my external hard drive. please help me my macbook HD is almost full and I have to copy my images to the Toshiba HD

    To delete files from your external HDD, attach it to your MBP and drag the unwanted files to trash and then empty trash.
    Then you select the files that you want to transfer by 'drag and drop' to the external HDD and trash the files on your MBP.
    Ciao.

  • ADF 11g can not select and copy data from cell of readonly table in IE

    hi,
    In ADF 11g, when render view object as readonly table with Single RowsSelection, using IE browser can not select and copy data from the cell, but it work in firefox.
    is it a bug?
    Edited by: kent2066 on 2009-5-18 上午8:46

    Hi Timo,
    Sorry forgot to mention versions.
    We are using 11.1.1.7 and IE 9.
    I tried in Google but could not get the solution.
    Kindly let me know solution for this.
    PavanKumar

  • I'm not able to copy and paste files from my mac to hard disk and usb. I have tried dragging the items to those devices but it won't work. I also have tried copying and pasting those files onto those devices but that doesn't work too. Can any one help?

    I'm not able to copy and paste files from my mac to hard disk and usb. I have tried dragging the items I want to copy to those devices but it won't work. I also have tried copying and pasting those files onto those devices too but that doesn't work too. Can any one help?

    Hi BobRz
    Thanks for you suggestion but it didn't work - are there other ways for solving this problem? Or is it because my files that I want to copy and paste onto my hard disk etc are too big? (However there is space on my hard disk and it works on a PC)

  • How do I copy and paste files from a windows remote server to my mac?

    How can i copy and paste files from a remote server (windows) to my mac? i have installed cord to connect to the server but now i can´t cpy the files to my mac!

    Hi Sara.  Tanks for responding.  If I cannot figure this out (I  was up
    until 2am last night), I want to cancel my subscription.
    Here are two files you can check on/help me with.  When I try again,  it
    comes up 'an error has occurred when trying to access the service.'
    Please advise.
    Pat Tomassi
    In a message dated 11/1/2014 12:55:23 A.M. Eastern Daylight Time, 
    [email protected] writes:
    How  do I copy and paste text from a converted Word document?
    created by Sara.Forsberg (https://forums.adobe.com/people/Sara.Forsberg) 
    in Adobe Acrobat.com Services - View the full  discussion
    (https://forums.adobe.com/message/6888908#6888908)

  • Copying files from local computer to a remote server which is not in Domain and with username and password?

    "I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file, please help
    I am currently using batch file for back up for domain servers with robocopy commands in batch file  but one of the workstation is not in domain and has static ip , also it has username and password,
    Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder,
    please help, "
    P Dave

    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    Bill - he still sees that "connection" although it isn't mapped it is attached temporarily.
    P - Log off and log back on and the attached connection will be gone.  It is temporary.   Again - knowing the basics of WIndows would let you know this.
    We have given you all of the answers that are possible.  There is no other way unless you have installed things like PowerShell and PowerShell remoting or an FTP server.
    If you do use a drive it can be just as easily deleted after you have finished the copy.
    Again: "NET USE /?" will tell you all of the options.
    Saying you know nothing is not an excuse for not thinking or looking more deeply into the suggestions made by those trying to help you.  This is not a MIcrosoft support forum or help desk.  It is a forum for admiinistrative scripting and assumes
    that those coming here are technically trained or experienced in the basics of Windows technology.
    ¯\_(ツ)_/¯

  • Why is it no longer Possible to Copy and Paste files from Illustrator CC to Fireworks?

    Why is it no longer Possible to Copy and Paste files from Illustrator CC to Fireworks?

    What do "normal" AI prefs mean? AICB or PDF compliant? You might wanna try to turn off the latter....
    Mylenium

  • How can I open and copy files on the win side from the  mac side?

    I am working on the mac side and I need to be able to copy files from the mac side that I create over to the win side.  I can open and view win files when I am booted to Snow Leopard, but I cant copy files to the win side.  I think Macdrive does the opposite.
    Any ideas?
    thanks,
    C

    to write to Windows NTFS you need 3rd party.
    You have read only access to HFS from Windows.
    MacDrive8 works in Windows to add write to HFS as does Paragon. Paragon has what I have come to see as the best NTFS driver for OS X, and they have a separate HFS8 for Windows similar to MacDrive8.
    Maybe you want to run Windows as a client OS using Parallels instead?

  • I cannot copy files from CD's and DVD's to the hard drive

    I am running a G5 with OS X 10.4.8. I cannor copy files from the CD's and DVD's in the DVD-ROM drive to the hard drive. However, I can copy files from the USB floppy drive to the hard drive with no problem. What happened? Is this just a glitch? Will the problem be fixed if I just restart my computer?

    I just formatted my G5 tower, installed the 10.4.8 combo updater, and now my DVD drive will not let me copy files from a CD or DVD to my computer. I can read the files for the disk, I can choose "archive" and get them onto my computer that way (very time consuming - I have to copy ALL of my files back onto my HD), and I can burn disks. All I cannot do is drag files from the disks to my HD. When I try, I get a grey circle with a line through it, not the green + I should be getting.
    I have tried: updating my DVD drivers, reinstalling the system (I'm on 10.4.0 now and it still doesn't work), and clearing the PRAM.
    Judging by you having the same problem, this has to do with the 10.4.8 update. %#$&!
    HELP!!!

  • Error-36 and Error-42 when copying files from SD card

    Hello!
    I recently switched from a PC user to a mac user! Everything is great, but ever since I got the computer (refurbished 15in macbook pro) ive had problems with copying files from my SD card to my computer!! It so frustrating! Ive tried everything! I even called apple support, and after 30 minutes of calling came to no solution! I keep getting error-36 error-43 and sometimes error-8058 !!! I tried formatting with no success, because my computer cant read the disk! It is a PNY professtional 32gb sd card. Im not sure if this problem is happening due to the fact that I previousley used this same SD on my PC, but im going to return this computer if it doesnt fix! Ive also tried doing to terminal commands but it doesn't work! Please help!!
    - from a distressed youtuber

    I'm having similar problems and I'm using a 1Tb HDD ( USB connection) which has 3 partitions. I have discovered that after some time (not clear what triggers it) I start being unable to use one partition for backups. When I checked further I discovered that I cannot write any file no matter what size to it. The problem has normally disappeared for a while when I restart my computer. I've done disk verifies and things are fine. The other two partitions are Ok ... I use one for TimeMachine and the other for SuperDuper. This partition is primarily used for ChronoSync backups so I suspect that the problem is related to how ChronoSync backs up but I have yet to convince their tech support of that.

  • Cannot copy and paste files from laptop to ipad

    i cannot copy files from my windows laptop to ipad air. may someone tell me what to do
    i have also tried to sync my laptop with ipad but in vain
    jared

    1. Copy photos from computer to flash drive (wireless type)
    2. Transfer file from flash drive to iPad wirelessly
    http://www.sandisk.com/products/wireless/flash-drive/

  • Is it okay to copy files from my Itunes folder to an external drive with my ipod connected and Itunes open?

    I'm backing up my Itunes library and dragging files from the Itunes folder on my computer to my external hard drive. Is it okay to do this while Itunes is open and my Ipod is connected to the computer charging?
    I'm on a windows 7 computer.

    You should always close iTunes before any backup operation on your library.  Your iPod will continue charging (but make sure any sync operations have completed before exiting iTunes) - doesn't have to be removed while backing up the library.

Maybe you are looking for