1 file to multiple folders

On my server I have 1 file that I need to copy to all user folders. I was hoping to use either Applescript or Automater to do this but I'm not sure how to accomplish it. Can anyone lead me in the right direction on this?
Thanks in advance for any help you can give.

one specific audio file (blank) which is missing in hundreds of different folders with audio samples. What would solve the problem is if I could tell macosx to copy that one file recursively into a folder and all sub- and subsub- etc folders.
You could try using commands in Terminal (in /Applications/Utilities). I came up with the following:
If there is a folder on your Desktop named "targetfolder" that contains any number of subfolders at various levels, and there is also a file on the Desktop whose name begins with "blank", then the following Terminal commands will copy the "blank" file recursively into targetfolder and all of its subfolders.
Copy-paste each line into the Terminal window, and type Return after each:
cd ~/Desktop
find targetfolder -type d -exec cp blank* {} \;
For safety, try this only on a copy of your real audio folder. You could drag that copy onto the Desktop and rename it "targetfolder" before trying this.
BobHarris - Would appreciate your thoughts first - does this look OK? I'm not very experienced in Unix.

Similar Messages

  • Picking files from multiple folders based on name send to destination folde

    Hi,
       I want to pick multiple files from multiple folders with one root folder. Based on file name I want to send it to diffirent folders. No need to go for message mapping. Can anyone suggest me.
    Thanks & Regards,
    Prasad Kotla.

    Hi Prasad,
    to pick the files from multiple source directory, can use "Advance Selection for Source File" in Sender CC.
    If you wand to develop a Scenario without Message mapping, develop a scenario as "Sender as Virtual receiver"
    This option is available in Sender agreement, just give the dummy name for Msg Interface and Namespace, Name defined should be same in Rec Agreement.
    Develop only: Sende CC, Receiver CC, SA, RA
    No need to develop ID and RD as no mapping is involved.
    If u want to send the files to different folders of receiver side, just develop the adapter module which changes the directory based on the sender filename.
    If the sender and receiver directory is same than check the "adapter specific Msg Attribute"  and "directory" checkbox in both the sender and receiver CC. in this case no need to develop Custom module for changing the directory. files will be automatically placed in the path they were picked from  sendor directory
    appreciate if useful
    regards,
    chandra shekhar

  • Indexing files in multiple folders

    Dear all,
    I would like to ask is it possible to index files in multiple folders. To my understanding, Oracle Text seems can only create an index for files in a single folder. if this is true , then i think it will restrict us to search for files that have same file name. So I would like to ask if there are any work around to solve this problem.
    Thanks in advance,
    Edward

    Yes you can index files in multiple folders. Either you enter multiple paths in the path variable seperated by colon (:) under UNIX or semicolon(;) under NT.
    The other possibility is to leave the path variable blank but then the column you build the index on needs to store the whole file and pathname.
    Hope this helps
    Joerg

  • Zip'ing files from multiple folders to the same zip file

    Could somebody recommend a method to create a zip file with file contents from multiple folders? Or is there an application I can drag and drop a bunch of files to zip em?

    First highlight all of the folders or files. If they're not right next to each other, or on the same drives, hold down the Command key while clicking to choose the next without losing previous choices.
    Once they're all highlighted, right click on any highlighted item and choose "Compress xxx Items".

  • Batch Process multiple files in multiple folders

    I am using Acrobat 8.0.0 on Windows XP.
    Is there a way to create some type of macro to combine multiple PDFs within multiple folders? Or better yet, I'd like to combine the files into a PDF package with security.
    Thanks, let me know if I need to be more clear of provide more info.

    Thanks!
    From what I can tell Process Multiple Files allows input from three places:
    1. A folder. 2. Import (like a scanner?) 3. Open files.
    So it might be nice if it had a 4th option that would allow files to come out
    of Organizer via tags, albums, etc. And if that option was chosen then it
    would be nice to save the tags, and create version sets optionally.
    But my guess is that from a product design perspective the thinking is
    that most people would rather work in Organizer and then perform
    actions on a logical set of photos from there. Certainly, that would be my
    preference.
    What I'd like to do is do be in Organizer, select my images via tag(s),
    run QuickFix on them, (all of that I can do), then reduce the file size,
    and save the finished product as a version set. Then only thing I can't do
    in PSE7 is reduce the file size. Of if there is I don't know how to do
    it automatically.
    Well, thanks for the help!

  • Un-'Locking' multiple files in multiple folders....

    So I just spent 2 hours at the 'Genius' bar manually 'unlocking' hundreds if not thousands of photos in my 'iPhoto' (05) library in order to upgrade to iPhoto '06... apparently, when I imported some pictures from Windows... it brought them in as 'locked' (i.e. when you 'get info...' on a file, and it has the 'Locked' check-box checked), well apparently, in order to upgrade to iPhoto '06, you have to 'unlock' every single file... given the way that iPhoto stores your files, if you've got a few locked, scattered throughout your library, it's going to take a LONG time to find them all and unlock them.
    My question for the Mac OS X specialists at large is, "Is there a way to un-lock multiple files in multiple directories and folders, WITHOUT doing it manually? I can't believe I actually sat at a genius bar and did this for TWO hours. According to my Genius, that was the only way to do it. Are there any other Genius' out there that may have a differing opinion? Keep in mind, he was one of 2 or 3 native english speakers (here in the very busy Shibuya, Tokyo store) any solutions would be appreciated, because it appears I've got multiple files in my MacBook iPhoto library that are 'locked' and I'd like to find an easier way to unlock them.
    FYI, we went to finder and searched for 'other' "Files Write Protected" etc., but we were never able to find ONLY files that are locked... is there a better way? Surely there has to be. Looking forward to learning something new.
    Hal W.
    Tokyo, Japan
    Mac Mini, MacBook 13.3"   Mac OS X (10.4.7)  

    There's also a Terminal command that will work:
    Launch Terminal from your utilities folder, and enter this command:
    find /Users/yourname/Pictures/"iPhoto Library"/ -flags uchg -exec chflags nouchg {} \;
    Be sure you get the "spaces" right, including the ones before and after the curly braces--{}--and there is no space between \; and it should work just fine. You may want to just copy and paste the above into a text program, fill in your short user name, then copy and paste into Terminal. And it must be all one line. After you've entered the command, hit the Return key to execute it. It will look in your iPhoto Library folders for all files that have the locked flag, then change the flag to unlocked.
    Francine
    Francine
    Schwieder

  • Automator or Apple Script To Move Multiple Files to Multiple Folders

    I was just wondering, is there any sort of automator workflow or maybe apple script that will allow me to automate the following:
    I have a folder named SCANS containing multiple different files that need to go to multiple different folders.
    So Say I have:
    SCANS
    and in this folder I have ten files named A,B,C,D,E,F,G,H,I,J and I want each of these files to be moved to different folders eg.
    A I want to go to folder 1
    B I want to go to folder 2
    C I want to go to folder 3 etc etc.
    Anyone know if there is a way of doing this please?
    I have tried a workflow where I find finder items in the Scans folder and move to another but that only seems to work for one file.  When I add more it does not seem to work.
    Any help/guidance would be appreciated.
    Thank you!

    Hi Niel,
    Not quite what I wanted because I missed some information from my question....
    What I actually want is to search for files containing certain text in the name and if positive to then move that file to the specified folders.
    Cheers.

  • How do I unlock multiple files in multiple folders

    I recently got a new Macbook with OSX 10.7, and I moved about 30GB worth of files on to it from a windows NTFS hard drive.
    Now all these thousands of files are LOCKED and I can't move them around or delete them. I know how to select 1 file, or even a group of files and unlock them all, but how do I do it when these files are in many - MANY - different folders?
    When I unlock a folder, it doesn't unlock all the folders and files under it, just the folder it self.
    I know there was a program called Golden Key that use to do it, but it doesn't look like it's out there anymore (all the download links don't work)
    I just want to UNLOCK ALL THE FILES ON MY DRIVE -> with one simple command.
    Hopefully without going into Terminal (I don't know how to do that)
    THANKS!!

    You can also do it through Finder, one folderful at a time.
    To do that, open one such folder. Press Command-A (Select All in Edit menu). Press Option-Command-I which will open a multiple-item Get Info window, one window common to all the selected files. Then click the "Locked" checkbox until it is empty. That should unlock all the selected items.

  • Is there a way of selecting all files within multiple folders?

    Let's say I have a folder called 'text books' and within that folder I have 100 more folders named by author.  Inside the folders are .txt files of their work.  Is there any way I can select all the .txt docs and paste them in one big folder?  In other words, is there a way of removing all the sub-folders and putting all the .txt files together in one place?
    regards
    Rob

    Thanks Niel.  Worked a treat!  Took me a short while to figure out how to get it to run in the directory I wanted it to (as the file was also on NAS)  as I have never used AppleSript before.
    So, for posterity, and if anyone else is interested in trying to do this, here is my final script:
    set pa to "/Volumes/Public/etc - whatever your path is"
    set aspa to POSIX file pa
    set tpa to "/Volumes/Public/ directory you are moving them to"
    set as2pa to POSIX file tpa
    tell application "Finder"
      move every file of entire contents of folder aspa to folder as2pa
    end tell

  • Applescript to email files from multiple folders

    I have a dictaphone that stores recordings in 5 folders. When I connect the dictaphone, it downloads all recordings to respective Folders A through to E. I need the script/s to check each folder for files and automatically email them off then move them to a sent folder. Each folder can contain one or more recordings.
    What I find with my script below is that when I apply it to each folder, one of two things will happen. Either all the files from one folder will get sent and moved or the first file from each folder gets sent and moved. Everything else stays where it is.
    I'm beginning to think the trigger "on adding folder items" might not be the best way to achieve this. Perhaps I should link it to checking for the dictaphone being plugged in then scan all subfolders for files.
    [applescript]
    on adding folder items to themailfolder after receiving theAddedItems
    repeat with eachitem in theAddedItems
    tell application "Microsoft Entourage"
    activate
    set newmessage to make new draft window with properties {to recipients:"[email protected]", subject:"My Files", attachment:{file:eachitem}}
    send newmessage
    tell application "Finder"
    move eachitem to "Macintosh HD:Users:admin:documents:myfiles:sent"
    end tell
    end tell
    end repeat
    end adding folder items to
    [applescript]
    Any input gratefully welcome!
    Message was edited by: K-Lye

    Noted - problem solved here:
    http://bbs.macscripter.net/viewtopic.php?id=26312
    Message was edited by: K-Lye

  • Moving files from multiple folders

    I have just used Techtool Pro 5 to restore animation data files from an unmountable external drive. Every individual frame of a sequence has been put into a seperate folder by Techtool.
    Can I use Automator (or another app) to move each file into one folder.
    There are 5500 folders, so this might take a while manually.

    But unix commands rsync or ditto can do exactly that with a lot more options ???
    So a better question would be "How to use the unix commands rsync or ditto to do *your question*" in the [apple unix forum|http://discussions.apple.com/forum.jspa?forumID=735]
    --Am no expert in Unix or Applescript.--
    --Not too long ago I had the same 'bottleneck' issue with an applescript - activity monitor showing full cpu usage for one of my applescripts.--
    --Then tried to solve the same problem with unix and ruby. Results were stunning.--
    Still I am not complaining about applescript..
    --It helped me learn the limits of Applescript--
    --Hence I tend to use Applescript only for GUI scripting these days - its awesome there,--
    --for text processing and file processing - use a combination of bash and ruby--

  • Selecting files within multiple folders

    This may seem like a dumb question. But I'm an automator newbie. I have about 50 folders containing a total of about 5000 files (100 files/folder). How do I get automator to search within all 50 folders at once, to search for specific files whose names I want to change.
    I know how to do this one folder at a time, i.e. 'get specified finder items' - and i go within the one folder, chose the 100 files, and apply the 'rename finder item' as my second action in my workflow. But I don't want to do this 50 times.
    Can anybody help me?

    Got it. 'Get folder contents'

  • Copy a file into multiple folders action

    Hello All,
    I'm looking for help with a seemingly difficult action; I want to copy a text file into every folder within a location, if its not already there.
    I have over 100 projects ready to go out, and need to add a copyright notice .rtf file into each folder. Is there a way I can get Automator to do this? It would save me some time now, and certainly in the future.
    Thanks.

    rajneesh kumar wrote:
    -- Ask DBA to grant read , write privileges on this particular directory to your oracle user ie
    -- grant execute ON utl_file to your_user;
    -- grant read,write on directory john_test_dir to your_user;
    -- ALTER SYSTEM SET utl_file_dir = 'e:\jp_test\image_dir' SCOPE=SPFILE;
    -- restart the instanceNO! NO! NO!
    You should no longer use the utl_file_dir parameter as this has been deprecated by Oracle and replaced with directory objects. Setting the utl_file_dir parameter will leave your file system open to users corrupting files if you are not careful. This parameter should be unset of any value if it has any value set in it and you should set up directory objects instead.
    The correct thing to do is to create a directory object e.g.:
    CREATE OR REPLACE DIRECTORY mydir AS 'c:\myfiles';Note: This does not create the directory on the file system. You have to do that yourself and ensure that oracle has permission to read/write to that file system directory.
    Then, grant permission to the users who require access e.g....
    GRANT READ,WRITE ON DIRECTORY mydir TO myuser;Then use that directory object inside your FOPEN statement e.g.
    fh := UTL_FILE.FOPEN('MYDIR', 'myfile.txt', 'r');Note: You MUST specify the directory object name in quotes and in UPPER case for this to work as it is a string that is referring to a database object name which will have been stored in uppercase by default.

  • File Manager multiple folders (Need Help Please)

    If i open my file manager then choose the N900 icon (or whatever you name it) there are two icons of Audio clips, Camera, Documents, Images, Video clips. Can anyone help me return it to its original view where there is only one icon each.

    it was definately more prevelant in the pr1.1 version and previous....but i have still had it happen in the new pr1.2 a few times...but it goes away.
    post what it says on your screen when you open your phone dialer and the press:  *#0000# so that we can tell what version you are on.

  • Finding and moving files in multiple folders

    Hi
    I am trying to locate and move hundreds of .wav files currently situated in 193 subfolders inside a folder called "ambient". They are mixed with other filetypes. I want to move all these wav files into a new folder called "new ambient" but without any subfolders.
    At the moment the only way I can think of doing it is to open each subfolder and move each wav file to the new folder. An earlier task took me hours! Is there anyway in spotlight or finder or any other app I can filter the wav files from inside the ambient folder's subfolders (ignoring the subfolders themselves and other filetypes)  and "apple shift" bulk move them in one go to the new ambient folder? A  simple wav search in finder, which I've tried,  would also catch thousands of other wav files elsewhere on the hard drive, but I can't find a way to search within a specific folder
    any help appreciated

    You could use a smart folder in Finder.
    Open  a Finder window and go to the top level folder where the files are.
    Press command -f a Finder search box opens.
    What you'll see after the cmd-f the Search: folder should reflect the folder you opened and will search.
    Now click the Kind box and in the list that opens select other
    In the attribute window that opens search for extension
    Choose File extension and click OK.
    Back in the Finder window enter wav
    All the files under this folder with an extension of wav will appear in the Finder. You could leave the files where they are save this search and always access the wav files from here. It will appear and act as a normal folder. The advantage is that the update of the search is dynamic. If you add more wav files in the future they will show up here automatically.
    If you want to create an actual folder to hold these then open a new Finder window and create the new folder. Then select all the files in ths window and drag them to the other.
    reagrds

Maybe you are looking for

  • Masters list

    Hi How can i get the list of material master , customer master and vendor master list Please do the neeful

  • Issue in stock transport order

    Hi, We are facing this strange issue in our system. We have a Stock transoport order for company code US20 and freight vendor US3003 is been used in STO. This venodor US3003 has  trading partner US30 while this vendor is created for company code US20

  • Stack Overflow Exception

    Hi all, I am trying to serialize a directed graph. I have Node objects, and each Node object has a Vector of Node objects as one of its fields. The directed graph is stored as a Vector of Node Objects. The Node object and the DirectedGraph objects ar

  • Define Webservie in Configuration-Clarification.

    Hi, I have a web-service client to file scenario. The call is async. Is it possible to have async call in this scenario? I designed following interfaces: 1."studentList_outbound_async" under System_X_DEV (Sender ser vice). 2."customerList_inbound_asy

  • Apply After Effects presets

    Please fix the path in Bridge so .ffx presets can still be applied to After Effects. I use AECS3 & upgraded Web Premium to CS4. I have to use Bridge CS3 to Browse & apply presets to AECS3 layers. I can browse the presets in Bridge CS4 by saving the p