|
| | |||||||
| Apple Macintosh Hardware Discuss the Apple Macintosh Hardware |
| | LinkBack | Thread Tools |
| |||
| Copying only certain file types with Rendezvous Here's the general problem: I want to sync a folder on my iBook (OS X 10.2) with a folder on my Windows machine at work. There are thousands of files on the work machine folder - .java, .class, .gif, .jpg, ... - but I only want to recursively get the .java files. Currently I create the Rendezvous folder and copy the whole thing including the files I don't care about. How do I specify to copy only files of a certain type, e.g. the .java files? I'd be curious if there's a drag-and-drop way to do this. I'd also like to know if there's a way to do this on the Terminal. I do know how to construct a 'find' and 'cp' request. I do NOT know how to refer to the Rendezvous connected folder when in a Terminal session. Is there a way to do this? Thanks. |
| |||
| Re: Copying only certain file types with Rendezvous powderpain********.com (Travis) writes: > > Here's the general problem: I want to sync a folder on my iBook (OS > X 10.2) with a folder on my Windows machine at work. There are > thousands of files on the work machine folder - .java, .class, .gif, > .jpg, ... - but I only want to recursively get the .java files. > > Currently I create the Rendezvous folder and copy the whole thing > including the files I don't care about. > > How do I specify to copy only files of a certain type, e.g. the > .java files? Trivial. Open the top-level folder that you want to start searching from. Then type in ".java" in the search bubble (right edge of the default toolbar) and press RETURN. Let the search finish. Now drag the files to the destination. (Remember to option-drag to force a copy if you drag to a folder on the same drive, otherwise it will move the files.) > I'd also like to know if there's a way to do this on the Terminal. I > do know how to construct a 'find' and 'cp' request. I do NOT know > how to refer to the Rendezvous connected folder when in a Terminal > session. Is there a way to do this? Can't help here. I haven't used Rendezvous folders before. -- David |
| |||
| Re: Copying only certain file types with Rendezvous In article <m2d6e4scnv.fsf@qqqq.invalid>, shamino@techie.com (David C.) wrote: > Open the top-level folder that you want to start searching from. > Then type in ".java" in the search bubble (right edge of the default > toolbar) and press RETURN. Let the search finish. Does this imply that it searches below the top level as well? It doesn't appear to for me. -- Harvey Products makers of Dinghy Dogs(TM) The Boater's Best Friend http://www.dinghydogs.com Remove thefrown to email me |
| |||
| Re: Copying only certain file types with Rendezvous Harvey Waxman writes: > David C. wrote: >> >> Open the top-level folder that you want to start searching from. >> Then type in ".java" in the search bubble (right edge of the >> default toolbar) and press RETURN. Let the search finish. > > Does this imply that it searches below the top level as well? It > doesn't appear to for me. It did when I tried it just now. I opened my home directory and typed my keyword into the bubble. It found everything underneath it. Just in case you were being too literal, leave out the quotation marks from ".java" when typing in your search key. -- David |
| |||
| Re: Copying only certain file types with Rendezvous In article <m28yosqwqo.fsf@qqqq.invalid>, shamino@techie.com (David C.) wrote: > Harvey Waxman writes: > > David C. wrote: > >> > >> Open the top-level folder that you want to start searching from. > >> Then type in ".java" in the search bubble (right edge of the > >> default toolbar) and press RETURN. Let the search finish. > > > > Does this imply that it searches below the top level as well? It > > doesn't appear to for me. > > It did when I tried it just now. I opened my home directory and > typed my keyword into the bubble. It found everything underneath it. > > Just in case you were being too literal, leave out the quotation > marks from ".java" when typing in your search key. > > -- David that wasn't it. I figured it out. The folder I selected had a bunch of aliased folders in it and the files weren't found although they appeared when I clicked on them directly. I guess it doesn't work on aliases. -- Harvey Products makers of Dinghy Dogs(TM) The Boater's Best Friend http://www.dinghydogs.com Remove thefrown to email me |
| |||
| Re: Copying only certain file types with Rendezvous Harvey Waxman <info@dinghydogs.comthefrown> writes: > > that wasn't it. I figured it out. The folder I selected had a bunch > of aliased folders in it and the files weren't found although they > appeared when I clicked on them directly. I guess it doesn't work > on aliases. No, I wouldn't expect it to traverse through aliases to folders. While it might be a nice feature, it makes find programs much more complicated, because you can create an infinite loop (e.g. you can create an alias to your own parent folder,) and the program will have to have enough smarts to not get caught. Glad you found out what was happening. -- David |
| |||
| Re: Copying only certain file types with Rendezvous Thanks for the UI (Finder) way of doing this. Meanwhile, I figured out how to do it from the command line (Terminal). So if you want to do this Unix-style ... The Rendezvous connections are "mounts". When I typed 'mount' at the prompt, it showed up as being a directory hanging off the "/Volumes" directory. The recursive folder creation was hell to figure out. The beauty of Unix is there are a dozen acceptable ways to accomplish any particular task. The difficulty is that folks like me who use it periodically but not every day have this love/hate relationship. One way is this: - Go the directory where the source files are. - Command: -- cd /Volumes/10.0.1.2/myfiles - Run a find/cpio with the desired file pattern. - Command: -- find . -name "*.java" -print | cpio -pvdu ~/Applications/eclipse/workspace/myproject/src Harvey Waxman <info@dinghydogs.comthefrown> wrote in message news:<info-838E11.16504713092003@news.east.cox.net>... > In article <m28yosqwqo.fsf@qqqq.invalid>, shamino@techie.com (David C.) wrote: > > > Harvey Waxman writes: > > > David C. wrote: > > >> > > >> Open the top-level folder that you want to start searching from. > > >> Then type in ".java" in the search bubble (right edge of the > > >> default toolbar) and press RETURN. Let the search finish. > > > > > > Does this imply that it searches below the top level as well? It > > > doesn't appear to for me. > > > > It did when I tried it just now. I opened my home directory and > > typed my keyword into the bubble. It found everything underneath it. > > > > Just in case you were being too literal, leave out the quotation > > marks from ".java" when typing in your search key. > > > > -- David > that wasn't it. I figured it out. The folder I selected had a bunch of aliased > folders in it and the files weren't found although they appeared when I clicked > on them directly. I guess it doesn't work on aliases. |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File types and folders: messed up folder file type | Karsten Wutzke | Windows XP | 1 | 04-05-2008 01:30 AM |
| Folder Options/File Types/Advanced/Edit File Type not working | Scott Leslie | Windows XP | 2 | 10-21-2007 05:00 PM |
| File types | Ernie Lane | Windows Vista | 3 | 10-17-2007 08:30 PM |
| File Types | David C | Windows Vista | 3 | 08-08-2007 11:00 PM |
| pdf file types | tarijam | Windows Media | 1 | 02-04-2007 10:52 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |