How to perform a classic Mac OS search in Tiger

Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
In an this post I will describe how to perform a classic Mac OS search and give example results. You may perform the search with or without the spotlight database. This search falls under the smart folder implementation introduced with Tiger. I have done all my testing with Mac OS 10.4.11. I assume this will work with any version of Tiger or Leopard.
The results will be slightly different with a spotlight database on the partition and without a database on the partition. With a database, you will not see Unix hidden files. You may be able to use all of the spotlight special find features. I did not test much with the spotlight special fields. Without a database, using the special features nulls out the search and the "Search for" field seems to give the same result as using the name field.
This search technique was obscured by all the hoopla over spotlight. Authors of Tiger books avoided mentioning the Classic search interface. When I looked in Leopard books I noticed some authors put back information on the Classic search interface.
For testing I created these files
For testing I created a test "z-find" folder on my Macintosh-HD, containing files and folders with various attributes, then copied it over to my Spotless flash drive. This means both searches searched for the same file names.
I put these files on my Macintosh-HD and Spotless partitions.
Here is the list of files:
!http://farm3.static.flickr.com/2122/3746333451_36daa677f8.jpg?v=0!
Here is the list of files again:
.bash-backup-copy-initial-dot-copy.html
.bash-copy-initial-dot/
    bash-backup-inside-bash.html
    ping_command_as_Give.html
bash-backup-copy-invisible-attr.html
bash-backup.html
bash-batChmod.html
bash-battery__yellow__4k.html
bash-copy/
    bash-backup-inside-bash-copy.html
    ping_command-bash-copy.html
bash-copy-invisible-attr/
    ping_command_as_Give.html
bash-folder__green/
    ping_command_as_Give.html
Perform the Classic Mac OS search with a Spotlight database.
{color:red}By Classic Mac OS search I mean a search on the filename and the results shown in list format.{color} How do you get to this interface?
*Click on the Desktop to access the Finder.*
*Click on File then click on Find. (Command-F)*
Pick what folder you wished to search. With Tiger you can click on Others... to select a folder. Click on the plus sign to select the folder you wish to search. Be sure the selected folder in the list is the only one checked. In the first example I picked: /Users/mac/Desktop/iMac/z-find/
{color:purple}The "Search for" field on the first line is used for spotlight. Avoid using this box.{color}
*Click on the double arrow to the right of the first option (Kind). Go down to the name field.*
*Change the 2nd pop down field to Contains.*
*You can now search for the contents of a filename.* I searched for name contains: bash-
To see the Classic display format, click on the three line icon which is located on the upper left of the window (list view). There is a small refresh icon on the lower right of the window.
!http://farm4.static.flickr.com/3485/3240587496_741476de7b.jpg?v=0!
This is the result of the search with a Spotlight database:
bash-backup-copy-invisible-attr.html
bash-backup-inside-bash-copy.html
bash-backup-inside-bash.html
bash-backup.html
bash-batChmod.html
bash-battery_yellow_4k.html    {labeled with the Yellow attribute}
bash-copy    {folder}
bash-copy-invisible-attr    {folder}
bash-folder__green    {folder and labeled with the Green attribute}
ping_command-bash-copy.html
You can create a smart folder to take you directly to the search panel. Just click on the Save icon to the right of the window near the top. For readers of books, you should look under smart folders.
!http://farm4.static.flickr.com/3498/3239759755_d5ebbefe05.jpg?v=0!
There are some downsides. Initially, the search will find both visible and invisible Mac OS files. However, the search seems to get confused between visible and invisible files when you select the visibility option. It seems to get the visible correct when you use visible but when you add invisible things get confused. Sometimes it will find invisible files and sometimes it won't. I used both the Unix invisible files and the Mac OS X visiblity attribute.
In putting the same search in the upper right-hand-corner spotlight search and in the Search for field, I did not get the same results. The spotlight search returned a 182 items while the with Search for field returned 179 items. The Search for field seemed to miss items in the mail boxes. With the Search for search you could display spotlight results in the classic format.
I did a successful search on my fat32 flash drive.
Perform the Classic Mac OS search without the spotlight database.
If you turn off spotlight indexing on a volume and delete the spotlight index, then Mac OS Tiger reverts to the prior Mac OS search facility. In the preferences for spotlight, you let searching continued on the partition.
Here is what I did:
I installed the spotless application.
http://www.fixamac.net/software/spot/
I use spotless to configure spotlight. Click on disabled indexing then click on delete index files.
!http://farm4.static.flickr.com/3527/3239751839_c760c46628.jpg?v=0!
Spotless creates the .Spotlight-V100 directory with the _IndexPolicy.plist and _rules.plist to prevent indexing on the partition.
I performed the search for files containing "bash-" in the name field.
!http://farm4.static.flickr.com/3430/3240587902_171d8d46c3.jpg?v=0!
This is the result of the search without the Spotlight databases:
bash-backup-inside-bash-copy.html
bash-backup.html
bash-batChmod.html
bash-battery_yellow_4k.html    {labeled with the Yellow attribute}
bash-copy    {folder}
bash-folder__green    {folder and labeled with the Green attribute}
ping_command-bash-copy.html
Limitations:
Does not search in Unix hidden folders. That is folders beginning with a period (.) .
Sometimes will find files beginning with a period (.).
Does not find Mac OS invisible files.
Using the special features nulls out the search.
The Search for field seems to give the same result as using the name field.
Related tips:
• More hints by Baltwo
http://www.macosxhints.com/article.php?story=20050501162147222
•Spotlight in Leopard has been enhanced. See these articles for details:
See http://www.pinkmutant.com/articles/Leopard/leospot.html and my mod to Finder's Find at http://discussions.apple.com/message.jspa?messageID=6725932 for what you can change so you can find stuff excluded by the default structure.
• FindAnyFile
"Contrary to Spotlight, it does not use a database but instead uses the file system driver's fast search operations."
http://apps.tempel.org/FindAnyFile/index.html
• Use the terminal find command to list files from multiple directories.
Macintosh-HD -> Applications -> Utilities -> Terminal
mac $ find ~/Desktop/iMac/z-find -iname "*bash-*" -exec ls -dF {} \;
/Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
/Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
/Users/mac/Desktop/iMac/z-find/bash-backup.html
/Users/mac/Desktop/iMac/z-find/bash-batChmod.html
/Users/mac/Desktop/iMac/z-find/bash-battery_yellow_4k.html
/Users/mac/Desktop/iMac/z-find/bash-copy/
/Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
/Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
/Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr/
/Users/mac/Desktop/iMac/z-find/bash-folder__green/
mac $
• You can use the Terminal to search the contents of a file.
You need to combine the find command with the grep command. I am searching for the word pdisk where file names containing "bash-" in the directory "/Users/mac/Desktop/iMac/z-find". The symbols {} \; are needed after the word to search. See:
man find
man grep
for cryptic details.
Macintosh-HD -> Applications -> Utilities -> Terminal
mac $ find ~/Desktop/iMac/z-find -iname "*bash-*" -type f -exec grep -bil 'pdisk' {} \;
/Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
/Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
/Users/mac/Desktop/iMac/z-find/bash-backup.html
/Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
• findfile
"Here’s a simple command-line tool which uses FSCatalogSearch to search for files by name.
usage: findfile -r <volume> <name> "
Here is where to find: findfile.
http://cocoacafe.wordpress.com/2007/06/17/fscatalogsearch/
I am searching file names containing "bash-" in the directory "/Users/mac/Desktop/iMac/z-find".
Macintosh-HD -> Applications -> Utilities -> Terminal
mac $ ~/findfile -r /Volumes/Macintosh-HD/ "bash-" |\
additional input: grep '^/Users/mac/Desktop/iMac/z-find/'
/Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot
/Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
/Users/mac/Desktop/iMac/z-find/bash-backup.html
/Users/mac/Desktop/iMac/z-find/bash-batChmod.html
/Users/mac/Desktop/iMac/z-find/bash-battery_yellow_4k.html
/Users/mac/Desktop/iMac/z-find/bash-copy
/Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr
/Users/mac/Desktop/iMac/z-find/bash-folder__green
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
/Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
/Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
Robert
This is the 1st version of this tip. It was submitted on July 31,2009 by rccharles.
Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
In an this post I will describe how to perform a classic Mac OS search and give example results. You may perform the search with or without the spotlight database. This search falls under the smart folder implementation introduced with Tiger. I have done all my testing with Mac OS 10.4.11. I assume this will work with any version of Tiger or Leopard.
The results will be slightly different with a spotlight database on the partition and without a database on the partition. With a database, you will not see Unix hidden files. You may be able to use all of the spotlight special find features. I did not test much with the spotlight special fields. Without a database, using the special features nulls out the search and the "Search for" field seems to give the same result as using the name field.
This search technique was obscured by all the hoopla over spotlight. Authors of Tiger books avoided mentioning the Classic search interface. When I looked in Leopard books I noticed some authors put back information on the Classic search interface.
For testing I created these files
For testing I created a test "z-find" folder on my Macintosh-HD, containing files and folders with various attributes, then copied it over to my Spotless flash drive. This means both searches searched for the same file names.
I put these files on my Macintosh-HD and Spotless partitions.
Here is the list of files:
!http://farm3.static.flickr.com/2122/3746333451_36daa677f8.jpg?v=0!
Here is the list of files again:
.bash-backup-copy-initial-dot-copy.html
.bash-copy-initial-dot/
    bash-backup-inside-bash.html
    ping_command_as_Give.html
bash-backup-copy-invisible-attr.html
bash-backup.html
bash-batChmod.html
bash-battery__yellow__4k.html
bash-copy/
    bash-backup-inside-bash-copy.html
    ping_command-bash-copy.html
bash-copy-invisible-attr/
    ping_command_as_Give.html
bash-folder__green/
    ping_command_as_Give.html
Perform the Classic Mac OS search with a Spotlight database.
{color:red}By Classic Mac OS search I mean a search on the filename and the results shown in list format.{color} How do you get to this interface?
*Click on the Desktop to access the Finder.*
*Click on File then click on Find. (Command-F)*
Pick what folder you wished to search. With Tiger you can click on Others... to select a folder. Click on the plus sign to select the folder you wish to search. Be sure the selected folder in the list is the only one checked. In the first example I picked: /Users/mac/Desktop/iMac/z-find/
{color:purple}The "Search for" field on the first line is used for spotlight. Avoid using this box.{color}
*Click on the double arrow to the right of the first option (Kind). Go down to the name field.*
*Change the 2nd pop down field to Contains.*
*You can now search for the contents of a filename.* I searched for name contains: bash-
To see the Classic display format, click on the three line icon which is located on the upper left of the window (list view). There is a small refresh icon on the lower right of the window.
!http://farm4.static.flickr.com/3485/3240587496_741476de7b.jpg?v=0!
This is the result of the search with a Spotlight database:
bash-backup-copy-invisible-attr.html
bash-backup-inside-bash-copy.html
bash-backup-inside-bash.html
bash-backup.html
bash-batChmod.html
bash-battery_yellow_4k.html    {labeled with the Yellow attribute}
bash-copy    {folder}
bash-copy-invisible-attr    {folder}
bash-folder__green    {folder and labeled with the Green attribute}
ping_command-bash-copy.html
You can create a smart folder to take you directly to the search panel. Just click on the Save icon to the right of the window near the top. For readers of books, you should look under smart folders.
!http://farm4.static.flickr.com/3498/3239759755_d5ebbefe05.jpg?v=0!
There are some downsides. Initially, the search will find both visible and invisible Mac OS files. However, the search seems to get confused between visible and invisible files when you select the visibility option. It seems to get the visible correct when you use visible but when you add invisible things get confused. Sometimes it will find invisible files and sometimes it won't. I used both the Unix invisible files and the Mac OS X visiblity attribute.
In putting the same search in the upper right-hand-corner spotlight search and in the Search for field, I did not get the same results. The spotlight search returned a 182 items while the with Search for field returned 179 items. The Search for field seemed to miss items in the mail boxes. With the Search for search you could display spotlight results in the classic format.
I did a successful search on my fat32 flash drive.
Perform the Classic Mac OS search without the spotlight database.
If you turn off spotlight indexing on a volume and delete the spotlight index, then Mac OS Tiger reverts to the prior Mac OS search facility. In the preferences for spotlight, you let searching continued on the partition.
Here is what I did:
I installed the spotless application.
http://www.fixamac.net/software/spot/
I use spotless to configure spotlight. Click on disabled indexing then click on delete index files.
!http://farm4.static.flickr.com/3527/3239751839_c760c46628.jpg?v=0!
Spotless creates the .Spotlight-V100 directory with the _IndexPolicy.plist and _rules.plist to prevent indexing on the partition.
I performed the search for files containing "bash-" in the name field.
!http://farm4.static.flickr.com/3430/3240587902_171d8d46c3.jpg?v=0!
This is the result of the search without the Spotlight databases:
bash-backup-inside-bash-copy.html
bash-backup.html
bash-batChmod.html
bash-battery_yellow_4k.html    {labeled with the Yellow attribute}
bash-copy    {folder}
bash-folder__green    {folder and labeled with the Green attribute}
ping_command-bash-copy.html
Limitations:
Does not search in Unix hidden folders. That is folders beginning with a period (.) .
Sometimes will find files beginning with a period (.).
Does not find Mac OS invisible files.
Using the special features nulls out the search.
The Search for field seems to give the same result as using the name field.
Related tips:
• More hints by Baltwo
http://www.macosxhints.com/article.php?story=20050501162147222
•Spotlight in Leopard has been enhanced. See these articles for details:
See http://www.pinkmutant.com/articles/Leopard/leospot.html and my mod to Finder's Find at http://discussions.apple.com/message.jspa?messageID=6725932 for what you can change so you can find stuff excluded by the default structure.
• FindAnyFile
"Contrary to Spotlight, it does not use a database but instead uses the file system driver's fast search operations."
http://apps.tempel.org/FindAnyFile/index.html
• Use the terminal find command to list files from multiple directories.
Macintosh-HD -> Applications -> Utilities -> Terminal
mac $ find ~/Desktop/iMac/z-find -iname "*bash-*" -exec ls -dF {} \;
/Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
/Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
/Users/mac/Desktop/iMac/z-find/bash-backup.html
/Users/mac/Desktop/iMac/z-find/bash-batChmod.html
/Users/mac/Desktop/iMac/z-find/bash-battery_yellow_4k.html
/Users/mac/Desktop/iMac/z-find/bash-copy/
/Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
/Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
/Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr/
/Users/mac/Desktop/iMac/z-find/bash-folder__green/
mac $
• You can use the Terminal to search the contents of a file.
You need to combine the find command with the grep command. I am searching for the word pdisk where file names containing "bash-" in the directory "/Users/mac/Desktop/iMac/z-find". The symbols {} \; are needed after the word to search. See:
man find
man grep
for cryptic details.
Macintosh-HD -> Applications -> Utilities -> Terminal
mac $ find ~/Desktop/iMac/z-find -iname "*bash-*" -type f -exec grep -bil 'pdisk' {} \;
/Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
/Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
/Users/mac/Desktop/iMac/z-find/bash-backup.html
/Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
• findfile
"Here’s a simple command-line tool which uses FSCatalogSearch to search for files by name.
usage: findfile -r <volume> <name> "
Here is where to find: findfile.
http://cocoacafe.wordpress.com/2007/06/17/fscatalogsearch/
I am searching file names containing "bash-" in the directory "/Users/mac/Desktop/iMac/z-find".
Macintosh-HD -> Applications -> Utilities -> Terminal
mac $ ~/findfile -r /Volumes/Macintosh-HD/ "bash-" |\
additional input: grep '^/Users/mac/Desktop/iMac/z-find/'
/Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot
/Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
/Users/mac/Desktop/iMac/z-find/bash-backup.html
/Users/mac/Desktop/iMac/z-find/bash-batChmod.html
/Users/mac/Desktop/iMac/z-find/bash-battery_yellow_4k.html
/Users/mac/Desktop/iMac/z-find/bash-copy
/Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr
/Users/mac/Desktop/iMac/z-find/bash-folder__green
/Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
/Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
/Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
Robert
This is the 1st version of this tip. It was submitted on July 31,2009 by rccharles.
Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

Similar Messages

  • Perform a classic Mac OS search

    I am looking for people to verify these results in Leopard. I have done all my testing with Mac OS 10.4.11. I assume this will work with any version of Tiger or Leopard. I am working on a contribute to the User Tips Library.
    Background:
    http://discussions.apple.com/thread.jspa?threadID=1878391&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=1861415&start=0&tstart=0
    =====================================================
    In an this post I will describe how to perform a classic Mac OS search. You may perform the search with or without the spotlight database. This search falls under the smart folder implementation introduced with Tiger.
    The results will be slightly different with spotlight database on the partition and without the database on the partition. With the database, you will not see Unix hidden files. You may be able to use all of the spotlight special find features. I did not test much with the spotlight special fields. Without the database, you will see Unix hidden files. Using the special features nulls out the search. The "for search" field seems to give the same result as using the name field.
    This search technique was obscured by all the hoopla over spotlight. Authors of Tiger books avoided mentioning the Classic search interface. When I looked in Leopard books I noticed some authors put back information on the Classic search interface.
    How do you get to this interface?
    Perform the Classic Mac OS search with the spotlight database.
    Click on the desktop
    File: find
    Pick what folder you wished to search. Click on the Others... to select a folder. Click on the plus sign to select the folder you wish to search. Be sure the selected folder in the list is the only one checked. In the first example I picked: /Users/mac/Desktop/iMac/z-find/
    The "search for" block on the first line is used for spotlight. Avoid using this box.
    Click on the plus symbol to the right of an input options. Click on the double arrow to the right of the first option. Go down to the name field.
    You can now search for the contents of a filename. I searched for: bash-
    To see the Classic display format, click on the three line icon which is located on the upper left of the window. There is a small refresh icon on the lower right of the window.
    !http://farm4.static.flickr.com/3366/3217404578_16ebe86446.jpg?v=0!
    The bottom window contains a list of all my files that I thought I might find in the folder, z-find.
    You can create a smart folder to take you directly to the search panel. Just click on the Save icon to the right of the window near the top. For readers of books, you should look under smart folders.
    !http://farm4.static.flickr.com/3386/3216549989_d001213824.jpg?v=0%20depends!
    The bottom window contains a list of all my files that I thought I might find in the folder, z-find.
    There are some downsides. Initially, the search will find both visible and invisible Mac OS files. However, the search seems to get confused between visible and invisible files when you select the visibility option. It seems to get the visible correct when you use visible but when you add invisible things get confused. Sometimes it will find invisible files and sometimes it won't. I used both the Unix invisible files and the Mac OS X visiblity attribute.
    In putting the same search in the upper right-hand-corner spotlight search and in the Search for field, I did not get the same results. The spotlight search returned a 182 items while the with Search for field returned 179 items. The Search for field seemed to miss items in the mail boxes. With the Search for search you could display spotlight results in the classic format.
    I do not know how this works internally. I successfully a search on my fat32 flash drive.
    Perform the Classic Mac OS search without the spotlight database.
    If you turn off spotlight indexing on a volume and delete the spotlight index, then Mac OS Tiger reverts to the prior Mac OS search facility. In the preferences for spotlight, you let searching continued on the partition.
    Here is what I did:
    I installed the spotless application.
    http://www.fixamac.net/software/spot/
    I use spotless to configure spotlight. Click on disabled indexing then click on delete index files.
    !http://farm4.static.flickr.com/3086/3218916497_2e7091b1f4.jpg?v=0!
    mac $ pwd
    /Volumes/Black-Gold
    mac $ ls -ld .Spotlight-V100
    drwx------   4 mac  staff  136 Jan 22 23:51 .Spotlight-V100
    mac $ ls -l .Spotlight-V100
    total 16
    -rw-------   1 mac  staff  55 Jan 22 23:51 _IndexPolicy.plist
    -rw-------   1 mac  staff  58 Jan 22 23:51 _rules.plist
    _IndexPolicy.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple. com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>Policy</key>
        <integer>3</integer>
    </dict>
    </plist>
    _rules.plist:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple. com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>Spot_Auto</key>
        <integer>1</integer>
    </dict>
    </plist>
    I put the files on my flash drive, black-gold, which does not have a slotlight index.
    !http://farm4.static.flickr.com/3363/3219766624_63687ff9a7.jpg?v=0!
    Here is the list of files:
    mac $ pwd
    /Volumes/Black-Gold/iMac/z-find
    mac $ ls -RaF
    .DS_Store
    .bash-backup-copy-initial-dot-copy.html
    .bash-copy-initial-dot/
    bash-backup-copy-invisible-attr.html
    bash-backup.html
    bash-batChmod.html
    bash-battery_yellow_4k.html
    bash-copy/
    bash-copy-invisible-attr/
    bash-folder__green/
    ./.bash-copy-initial-dot:
    .DS_Store
    bash-backup-inside-bash.html
    pingcommand_asGive.html
    ./bash-copy:
    .DS_Store
    bash-backup-inside-bash-copy.html
    ping_command-bash-copy.html
    ./bash-copy-invisible-attr:
    .DS_Store
    pingcommand_asGive.html
    ./bash-folder__green:
    .DS_Store
    pingcommand_asGive.html
    mac $ 
    mac $ 
    I performed the search for files containing "bash-" in the name field.
    !http://farm4.static.flickr.com/3429/3218916245_c73ed8cfab.jpg?v=0!
    .bash-backup-copy-initial-dot-copy.html
    .bash-copy-initial-dot    {folder}
    bash-backup-inside-bash-copy.html
    bash-backup-inside-bash.html
    bash-backup.html
    bash-batChmod.html
    bash-battery_yellow_4k.html    {labeled with the Yellow attribute}
    bash-copy    {folder}
    bash-folder__green    {folder and labeled with the Green attribute}
    ping_command-bash-copy.html
    Limitations:
    Does not search in Unix hidden folders. That is folders beginning with a period (.) .
    Does find files beginning with a period (.).
    Does not find Mac OS invisible files.
    Using the special features null its out the search.
    The for search field seems to give the same result as using the name field.
    Robert

    Thanks for your quick reply. It will take me a bit to read through everything.
    I am wondering if you could read through a tiger post on search. A user doesn't like the Tiger search and I am wondering if Leopard will would solve his concerns.
    http://discussions.apple.com/message.jspa?messageID=8882253#8882253
    The complete discussion:
    http://discussions.apple.com/thread.jspa?threadID=1861415&tstart=0
    Robert

  • Using Classic Version of Search with Tiger

    Hello all,
    I hate Spotlight or whatever the new version of search is called. I have many hardrives, tons of files and lots of eBooks. This means that whenever I try and search for anything, I get about 400 results back making it pretty much worthless. I'd really like to use the classic version of search that just looks for the search string in the file name. I really have no need to search within files. How can I get this functionality back? Thanks!

    Mister Patrick,
    Welcome to the "I hate Spotlight, is there something wrong with me?" discussions. In my opinion Spotlight was designed by geeks, for geeks. The people who like Spotlight are the ones who like the fact that it doesn't work, so that they can spend time devising ways to try and make it work.
    For the rest of us with stuff to do, the only way of finding files (uh, that's all you want to do, right?)is to forget there is such a thing as Spotlight, and use a utility called EasyFind, which you can download for free from VersionTracker.com.
    People keep saying Apple might fix spotlight, others say different.

  • HT1752 How can I run classic Mac games on my Mac, I am running Mac OS X.

    I would like to run some of the old educational cds I have but none of them will work on my mac. I am running Mac OS X 10.6.8. I was wondering if anyone out there could post a step by step tutorial to getting old games to run. Thanks very much for any  help.

    Check around on the web and the manufacturers websites to see if any of those classic games have been updated or remodified to play on Intel Macs and your os. 

  • How can you FORCE Classic mode to run on an Intel Mac? OS 9 emulation Rosetta Software Design

    Hello everyone, I had a few thoughts on running Classic mode on intel macs which I wanted to share.
    Now I know little about software design, but maybe someone who does could tell me if these ideas I had are at all feasible:
    Now in the first place I now that, technically, "Classic" mode went out back with Tiger because of the switch to Intel chips. Switching to Intel, Rosetta was required to "translate" pre and non-intel OSX applications, with the exception of Classic since Rosetta does not translate deep enough into the system to do that. As a substitute to Classic, SheepShaver, Basilisk II, etc. can be used to emulate OS 9, but these are very lousy applications compared to Classic mode.
    Is there ANY way whatsoever Rosetta could be edited, or Classic itself so that it will work on intel macs?
    (that is, with the exception of 10.7+ systems since these don't even use Rosetta)
    I know if Classic was placed on an intel mac, it would tell you to download Rosetta, but from there will crashes because frameworks in the system's library does not support (or was not designed for) Classic...
    So what I wanted to know:
    What if an old, Classic supporting PowerPC system's library folder was added to an Intel computer in a location other then that computers real system folder (as not to confuse the real, current system) and Classic manually edited so that it would search for the needed frameworks/etc files in the new location? Would it work?
    Since, after all, it now has the correct "system" to run on (which before Rosetta could not convert), do you think there's any chance it would work and function properly?
    Now beyond that, I wouldn't know the actual results (or consequences). I suppose the main problem to consider would be that the the PPC's system frameworks/etc wouldn't work at all on an Intel (which leads us back to Rosetta lacking in this area), and since those frameworks will be searching for other files in the system library (which would bring them to the current, Intel system) the same results would happen: crash! Or maybe sensing the system was mixed up, one or more files would try to "fix" themselves, and in turn destroy the computer's real system.
    So, would it be worth a try?
    I'd love to hear any other thoughts on running Classic on Intel...

    There is an "easier" way to acquire SheepShaver called Chubby Bunny and I have put together a post with some safe links that are relevant to this topic.  I see that emaculation is one of them.
    Why do you need OS 9 greater than 9.04?
    Feel free to let me know if you need any more help.
    With the newer Intel Macs, you have to run a Classic emulator such as SheepShaver, which requires you to extract the Mac ROMs from your older Classic Mac and then install Mac OS 9.
    A related program is Chubby Bunny, which comes bundled with all of that included.
    More information on SheepShaver:
    http://www.emaculation.com/doku.php/sheepshaver_mac_os_x_setup
    and
    http://www.everymac.com/mac-answers/mac-os-9-classic-support-faq/run-macos-9-on- intel-macs.html
    and more information about Chubby Bunny:
    http://www.macwindows.com/OS9_on_Intel_Mac.html#092408b
    and
    http://hackthemac.blogspot.co.uk/2008/08/chubby-bunny-old-virtual-machine.html
                                  [click on image to enlarge]

  • Classical Music is Searched by Composer-How?

    Could it be that no one at Apple has ever had formal music education? In Verion 11 they (for some unfathomable reason) took away the Power Search option. Now you are left with Artist and Title and somekind of ranking.  I have a news break for Apple, classical music is searched by COMPOSER and is OPERA in many cases. If you can't return the composer option, then dump the Classical category. It's essentially useless. Apple-people, you may cyber-geniuses but you apparently know little about music.  How could they have overlooked this?

    In the SONGS or PLAYLISTS lists view, turn on the Column Browser (View Menu, Column Browser) and then select Composers.

  • No one knows how to work "Classic" mac?

    Gosh, this is stupid now, pretty much no one knows how to work with "Classic" macintosh
    am i the only one that knows how?
    my lastest version of classic is 9.1, but it only adds a "Window" menu and few other things, otherwise it is a mac os 9.0, i have multiple macs, those stats are:
    OS: Mac OS 9.0/9.1
    Processor: 200/275Mhz PowerPC
    Frame: Desktop/Tower
    but thats just 2 of my old macs i have, my shared new mac is:
    OS: Mac OS X
    Processor: 1.33/1.5 GHz PowerPC G4
    Frame: Mini
    and thats my family's 2 mac mini's, but i like old better, old seems to work better, especielly when it comes to appliances, man old things rock, they don't break down easily either, yeah i'm stuck in the old age with my "No Money", but hey i am satisfied.

    Hi, Jailout -
    There's quite a few folk well versed in OS 9 who regularly post here.
    Did you have a question?

  • Hi, anyone knows how to using airdrop between mac and iPhone 5? My mac was using mavericks and my iPhone was using OS 7. There is airdrop icon in my mac. And already on. But it is searching constantly. Even my airdrop in iPhone already on for everyone.

    Hi, anyone knows how to using airdrop between mac and iPhone 5? My mac was using mavericks and my iPhone was using OS 7. There is airdrop icon in my mac. And already on. But it is searching constantly. Even my airdrop in iPhone already on for everyone.

    Yes, you can use it for Mac computer > Mac computer or iDevice > iDevice. It's because they have different operating systems.

  • EMacs PPC G4 upgraded from 9.2.2 -10.3.9 how do I add classic software?

    I'm new to posting in forums & unsure about which OS to post in.
    I run a Mac computer lab at an elementary school. I need to add some licensed software that only works on OS 9. How do I do that without losing the ability to use the OS 10.3.9 & 10.2.8 programs which I mistakenly deleted before upgrading?
    eMac info: PPC G4 1.25 &1 GHz, 256MB DDR SDRAM, HD-40GB, OS 10.3.5 upgraded to 10.3.9. Also have PPC G4 800GHz, 128MB RAM, HD-38GB OS 9.2.2 upgraded to 10.2.8.
    My experience is mostly PC but I'm slowly learning Mac.
    Ideas anyone? I need this for a class on Fri or Mon.

    Hi, kigc -
    With regard to the eMac models, Classic (OS 9) can be installed only from the original disk set that came with each machine; the specifics of doing so vary a bit depending upon what the original OSX version was for each machine. One or more of these Apple KBase articles should assist in doing that -
    Article #106294 - Mac OS X: How to reinstall Mac OS 9
    Article #107383 - Mac OS X 10.2, 10.3: How to perform Mac OS 9 clean installation with Restore CDs
    Article #42929 - Using Restore Discs with Mac OS X 10.2 through 10.3..3
    Article #151871 - Mac OS X 10.3: Installing Classic
    Although all eMacs can use OS 9 as Classic, not all are OS 9 bootable. The 1.25GHz eMac models are not OS 9 bootable; the 1.0GHz models are OS 9 bootable only if the machine has ATI Graphics and the original optical drive is not a Superdrive.
    http://docs.info.apple.com/article.html?artnum=86209
    With regard to the G4 800MHz model, that would be a G4 Quicksilver (2002) model. It is OS 9 bootable, but only using the model-specific version of OS 9.2.2 which shipped with the machine on a stand-alone Software Install CD for OS 9; that disk is the only source for installiing OS 9 (Classic) on that machine.
    <hr>
    If you do not need to boot any of the above machines to OS 9, and need to use it only as Classic, then you can copy a working OS 9.2.2 (or perhaps an OS 9.1 or 9.2.1) System Folder from another machine. This should work fine as Classic, but will not be able to boot the machine (even if it is OS 9 bootable).
    On those machines which are OS 9 bootable, if the hard drive does not have OS 9 drivers installed (this can happen if the drive was formatted using OSX's Disk Utility and the option to install OS 9 drivers was not selected) then not only will the drive not be available when the machine is booted to OS 9 (such as to an OS 9 Install CD for machines capable of using one), it also can not be used for OS 9 booting. The absence of OS 9 drivers will not have any effect when using OS 9 as Classic.

  • How can I fix the disabled -Clear Search History- in the Tools section?

    I have a MacBook Pro and have just noticed that, as of today 2/15/13, the Form & Search History in the Tools, Clear Search History, section is often lightened/blurred over and its tiny box no longer able to be checked. More importantly, the Clear Search History -itself- is completely disabled and not working. I used it yesterday and it appeared to work fine. I've noticed that there are quite a few reports of this problem occurring with other users, but any and all those who have responded to these reports, with suggestions, are of no help whatsoever, to me, as I cannot understand them. Can someone who is able to give the proper effective advice do s in layman's terms so I can comprehend their instructions, please. :-) Thank you.

    The problem recurred and after verifying I have no add-ons or extensions, since I don't even know what they are, much less know how to use them the "Safe Mode" process wouldn't solve the problem. But at least now i know that the "Clear Recent History," in the Tools tab, works intermittently, but just not consistently. And the "Form & Search History" with tiny box next to it is unchecked and inaccessible (blurred over) sometimes, then appears accessible and check marked on other occasions. A very strange phenomenon...
    I have a Mac OS X 10.7.5 system and have no idea where to find the "Profile" to implement the other possible fixes. I am not well enough versed in the technical aspects of this computer to even attempt the frustrating and tricky task of deleting files I haven't a clue where to find unless someone can take me through the process step by step in layman's terms.
    There is either a bug in Firefox 19.0, which is very possible considering there are quite a few people who have reported this problem, or perhaps my last update somehow didn't download properly. Is it necessary to trash my current 19.0 version in order to download Firefox, again, or would another download of the same version override the current one?
    I'd like to see if that works to resolve the problem, but the first time I tried, a file that I couldn't open ended up on my desktop and I had to move it into the trash, not knowing what else to do with it. It didn't even show up in the trash when I did that???!!! Please provide easy to follow instructions on how to perform the downloading of another 19.0 version to replace my current one. Perhaps that will work. Thanks! :-)

  • "How do I defrag my mac?" "You don't need to, it does it itself" Fragmented Free Space: 99%. READ THIS NOW

    Just a heads up for my fellow Mac users.
    "How do I defrag my mac?"
    "You don't need to, ever. It does it automatically."
    "But it's running really slowly..."
    "Repair permissions or something. Defragging is not necessary on a mac."
    Techtool pro is now defragmenting my mac. Looks like the job's going to take about 4 hours. I thought I'd give everyone the truth about this while waiting (on a different computer obviously)
    The truth is, Apple's defragmenting system ***** BALLS. It has two massive, massive flaws which I feel people urgently need to be made aware of.
    #1: It only defragments files up to 20mb. If you're a movie producer, a songwriter, a photographer, or anything which involves working with many massive files, the built in defragmenting program WILL NOT HELP YOU IN THE SLIGHTEST.
    #2: It only defragments FILES. Free space is ignored, which eventually causes absolutely hrrendous problems.
    Let me give you an analogy here. Imagine your mac's hard drive is a bookcase with lots of books on it.
    File fragmentation is when it can't find a gap in the bookcase big enough for the entire book, so it breaks the book into pieces and srotes them in different gaps.
    Space fragmentation is when there are gaps all over the bookcase, instead of all the books being pushed to one side so there's a long gap elsewhere.
    Apple's built in defragmenting program will only fix the first problem - and even then, it will ignore any book bigger than 20 pages long, if you have bigger books which are broken up, you're screwed.
    Why is space fragmentation a problem? It's a problem because it directly LEADS TO file fragmentation. If there is a large block of free space all in one part of the disk, then an entire file can be written to it. However, if there is no single free block big enough for the file, it HAS NO CHOICE but to fragment it.
    So basically you might have 5 GB free and want to save a 2GB imovie project. That's cool. But what you may not realize is, the biggest single area of free space is only say 600MB. Others are around 300 and 400. Therefore the file MUST be fragmented into all these different areas, which wouldn't be necessary if all the free space was in one area of the disk.
    But apple's built in tools don't do anything about this, at least not in Tiger. PErhaps this has been fixed in later installations but I'm almost certain the same issues exist in leopard.
    Your only option is to buy a defragmenting program. I know this ***** but believe me, this IS something you NEED to do if your activity on your laptop involves disk space - intensive projects. I'm using TechTool Pro which has been recommended to me as hands down the best. It has a number of other functions as well, right now I'm only using the defragmenting tools but it has others for repairing damages disk sectors and other mantainence tools. There are other programs such as iDefrag out there as well.
    Why am I telling you this? I'm telling you because I experienced mind numbing frustration trying to get answers from the Apple community. Google it or ask the question yourself and you will most likely be whacked in the face with the intro to my post here - "You don't need to, it's not necessary, macs do it themselves, blah blah blah"
    Even worse, Apple's own webpage on the subject is nothing short of a disaster. It basically says "You PROBABLY don't need to defragment, unless you work with large files." That's it. You'd expect it to have an extra section saying "If you DO happen to work with large files, here's what you do" but no such section exists. It basically says "You don't need to defrag most of the time, and on the rare occasions when you do, well, too bad, you're screwed."
    I urge everyone to heed this or they will be tearing their hair out at how slow their mac has become and the fact that no one will offer any meaningful advice other than the standard, generic, "Repair permissions" - the Mac equivelant of "have you tried turning it off and on again".
    My disk is at 99% fragmented free space. NINTEY NINE PERCENT. In other words, although I have 25GB of free space, there was not a single contiguous block on the entire machine. I had almost 5,000 fragmented files as well, mostly imovies. Defragmenting got this down to about 300.
    The defrag job is taking more than 4 hours and will probably go on to take a lot longer than that. This machine has been slowly grinding to a halt over the last 3 years and now I know why.
    Please don't listen to anyone. Get yourself a defragmenting folder, and email Apple to tell them it's just not good enough to give their customers half assed answers and inadequate basic maintainence tools. Mac OS X must literally be the only operating system out there where something as basic as defragmenting is not only almost impossible to get answers on, but actually costs money to fix once you DO get answers.
    As customers, we should not accept this any longer. I intend to spread the above message far and wide.
    I LOVE Apple. I've always been "a mac" and I always will be. This in no way a mac bashing post or a windows endorsing one. I wouldn't switch back to windows if you gave me a million euro.
    But sometimes even the best developers can royally f*ck up. This is one of them.
    There is no readon people should be forced to put up with this crap. Absolutely no reason at all. I've had 3 months of crappy performance with no official explanation whatsoever.
    Apple if you're reading this: I love your products. I'm a loyal customer. People are more forgiving than you think, speak up, admit you dropped the ball, and DO something about it in your next updates to Lion and whichever versions of Leopard you are still actively maintaining.
    There's no shame in admitting when you're wrong. The shame is in hiding behind false promises and walls of silence.
    --Loyal customer, but feeling rather betrayed by all this.

    The old rule of thumb was to keep 10-12 GB free. Any lower than that and you will start to have trouble. I was very close to that for a long time and never had any complaints. Now, Lion "encourages" 20% free space (on my newer 250 GB drive) so I try to keep it with more than 50 GB free.
    Do you still have the original memory in that machine too? The metal plate you have to remove in the battery compartment also provides access to the RAM. Your machine will take 2 GB of RAM, possibly 3. You definitely want to max that out too.
    Regardless, you definitely need a new hard drive. When Apple switched to PC components, they had to take a quality hit. These 2.5" notebook hard drives are not very reliable. I'm surprised your hard drive hasn't died by now. I usually get a new hard drive with every major OS upgrade. A $ 50 investment every couple of years is no big deal.
    Unfortunately, you (and I) suffer from being an early adopter in 2006. Those 32-bit machines only accept 2 GB RAM (maybe 3) and are only 32-bit so they can't be upgraded to Lion. Because of this limitation, you won't see as dramatic an improvement as you would with a 2007 machine. If you run more than a couple of applications, your hard drive is always going to have to be doing some VM work. My 2006 machine has even lost its bluetooth. I gave it to my brother. My very similar 2007 Macbook is still running great.
    So, you must get a new hard drive because your old one is likely on death's door. If you don't have at least 2 GB - get it. If you can't afford a new machine, you might want to consider an SSD. That might help mitigate your RAM limitations. You can spend from $ 100 to $ 350 and get a dramatic speed improvement.

  • How to Perform a "Clean Install" - Offline installer link not working...

    The thread containing - "How to Perform a Clean Install of Flash Player in Mac OS X" -  was an answer given by Mike M. several times in this forum. I attempted to access the "offline installer" link that was offered, but it does not seem to be working. Does anyone have an updated link to a functional offline installer that I can use to finally download Flash Player for Mac OS X v. 10.9.5?
    I receive an error message stating "Error: Unable to proceed with the installation."
    Many of the photography and game websites I use (almost all, actually) FP, and I would really love to get back to my daily routine soon!
    Best Regards,
    Mel R.

    Hi Mel,
    The correct link is posted at the bottom of the Installation problems | Flash Player | Mac page, in the 'Still having problems section'. The download links recently changed and it appears the FAQ was not updated.  I have updated the with the help page URL as it's less likely that this link will change, and if it does, a re-direct to the new location would be implemented.
    Maria

  • How do I get new Mac Pro to "find" my HP LaserJet 1200n?

    I have been using my HP LaserJet 1200n with my G5. The ethernet cable from the printer is plugged into my Airport Extreme Base Station. On the G5 I have checked the box "Share this Printer", and its location is given as "Local Zone". I have added a new Mac Pro, and want to use the LaserJet with it. I will be getting rid of the G5. The problem I am having is that I can not get the Mac Pro to "find" the LaserJet on its own. IF I have the G5 turned on, then and only then will the Mac Pro print via ethernet to the LaserJet. In this configuration it lists the Laserjet "@ G5". With the G5 turned off the Mac Pro Systems Prefs list the LaserJet as "idle", but when I attempt to print the Mac Pro searches for the LaserJet with no results. How do I fix this? Thanks!

    Good news and bad news.
    Good news: I got it to work
    Bad news: It worked after about 4-1/2 hours of reading Apple and HP posts and printer manuals, and I really don't know that I did anything different I didn't do at 20 min.
    To document for anyone that might search...
    With a Laserjet 2100M or 2100TN connected through a Linksys router, I think what was key is to unplug and restart every network device several times, including the router itself. That's the only thing I can think of that might have made it work this time since I was doing the random monkey thing.
    Pushing both buttons simultaneously on the printer gets it to divulge its IP address, but I realized I can look at my router in the browser and see where it starts assigning IP addresses (...100 in my case) and if worse came to worse, just configure a bunch of printers with ...100, ...101, etc up to the number of devices on the network since you don't know what got assigned what address (it's unrelated to which of the four ports a device is plugged into because of the wireless devices).
    So you can go to the printer menu, I right click on the existing printers and clear all the printers, then hit + and then go to IP menu and pick the jetsocket choice, type in the IP address. The very last (successful) time, it knew what the printer was and picked the drivers (instead of generic postscript or PCL like it had 50 times before).
    Again, I think it's the rebooting and unplugging or turning things off to force them to do a little comms handshaking. Depression to elation, all over a printer. We're just pawns in the grip of multinational hegemony. <joke>
    Message was edited by: J Darrel Stickler

  • How to perform Error Handling in this Bdc Code

    Hi,
    I had created this BDC for the tcode MB1B and i want to know how to perform the ERROR HANDLING in it ..
    Plzz provide me guidelines for doing it . here's d code:-
    report ZBDC_MB1B
           no standard page heading line-size 255.
    include bdcrecx1.
    data: begin of record OCCURS 0,
          WERKS_001(004),     "Plant
          MATNR_002(018),     "ItemId
          ERFMG_003(013),     "Quantity in Unit of Entry
          ERFME_004(003),     "Unit of Entry
          LGORT_005(004),     "Storage Location
          CHARG_006(010),     "BatchId
          KDAUF_007(010),     "Sales Order Number
          KDPOS_008(006),     "Item Number in Sales Order
          end of record.
    PARAMETERS : P_FILNAM LIKE RLGRAP-FILENAME.
      initialization.
      CTUMODE = 'A'.
      CUPDATE = 'A'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILNAM.
      CALL FUNCTION 'WS_FILENAME_GET'
       EXPORTING
         MASK                   = ',. '
         MODE                   = 'O'
         IMPORTING
         FILENAME                 = P_FILNAM
       EXCEPTIONS
         INV_WINSYS             = 1
         NO_BATCH               = 2
         SELECTION_CANCEL       = 3
         SELECTION_ERROR        = 4
         OTHERS                 = 5
      IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    start-of-selection.
    CALL FUNCTION 'WS_UPLOAD'
       EXPORTING
         FILENAME                      = P_FILNAM
         FILETYPE                      = 'DAT'
        TABLES
          DATA_TAB                     = RECORD
       EXCEPTIONS
         CONVERSION_ERROR              = 1
         FILE_OPEN_ERROR               = 2
         FILE_READ_ERROR               = 3
         INVALID_TYPE                  = 4
         NO_BATCH                      = 5
         UNKNOWN_ERROR                 = 6
         INVALID_TABLE_WIDTH           = 7
         GUI_REFUSE_FILETRANSFER       = 8
         CUSTOMER_ERROR                = 9
         NO_AUTHORITY                  = 10
         OTHERS                        = 11
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT RECORD.
      BEGIN OF SCREEN 1
    perform bdc_dynpro      using 'SAPMM07M' '0400'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RM07M-SOBKZ'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    *perform bdc_field       using 'MKPF-BLDAT'
                                 '22.12.2008'.
    *perform bdc_field       using 'MKPF-BUDAT'
                                 '22.12.2008'.
    perform bdc_field       using 'RM07M-BWARTWA'
                                  '411'.
    perform bdc_field       using 'RM07M-SOBKZ'
                                  'E'.
    perform bdc_field       using 'RM07M-WERKS'
                                  RECORD-WERKS_001.             "Plant
    perform bdc_field       using 'XFULL'
                                  'X'.
    perform bdc_field       using 'RM07M-WVERS2'
                                  'X'.
      BEGIN OF SCREEN 2
    perform bdc_dynpro      using 'SAPMM07M' '0421'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MSEG-CHARG(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'MSEG-MATNR(01)'
                                  RECORD-MATNR_002.             "ITEMID
    perform bdc_field       using 'MSEG-ERFMG(01)'
                                  RECORD-ERFMG_003.             "QTY.
    perform bdc_field       using 'MSEG-ERFME(01)'
                                  RECORD-ERFME_004.             "UOM
    perform bdc_field       using 'MSEG-LGORT(01)'
                                  RECORD-LGORT_005.             "ST.LOC
    perform bdc_field       using 'MSEG-CHARG(01)'
                                  RECORD-CHARG_006.             "BATCHID
    perform bdc_field       using 'MSEGK-MAT_KDAUF'
                                  RECORD-KDAUF_007.             "S.O.
    perform bdc_field       using 'MSEGK-MAT_KDPOS'
                                  RECORD-KDPOS_008.             "S.O.LINE ITEM
    perform bdc_field       using 'DKACB-FMORE'
                                  'X'.
      BEGIN OF SCREEN 3
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'DKACB-FMORE'
                                  'X'.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_dynpro      using 'SAPMM07M' '0421'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'MSEG-ERFMG(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BU'.
    perform bdc_field       using 'DKACB-FMORE'
                                  'X'.
      BEGIN OF SCREEN 4
    perform bdc_dynpro      using   'SAPLKACB' '0002'.
    perform bdc_field       using      'BDC_OKCODE'
                                                '=ENTE'.
    perform bdc_transaction using 'MB1B'.
    ENDLOOP.

    hi,
    check this code in bold letters.
    INCLUDE BDCRECX1.
    TABLES : MARC.
    TYPES : BEGIN OF TY_UPLOAD,
            MATNR TYPE MARA-MATNR,
            WERKS TYPE MARC-WERKS,
            STEUC TYPE MARC-STEUC,
            END OF TY_UPLOAD.
    TYPES : BEGIN OF TY_MARC,
            MATNR TYPE MARA-MATNR,
            WERKS TYPE MARC-WERKS,
            END OF TY_MARC.
    TYPES : BEGIN OF TY_MTART,
            MATNR TYPE MARA-MATNR,
            MTART TYPE MARA-MTART,
            END OF TY_MTART.
    DATA : T_MARC TYPE STANDARD TABLE OF TY_MARC,
         : T_UPLOAD TYPE STANDARD TABLE OF TY_UPLOAD,
         : T_BASIC TYPE STANDARD TABLE OF TY_UPLOAD,
         : T_SALES TYPE STANDARD TABLE OF TY_UPLOAD,
         : T_ERROR TYPE STANDARD TABLE OF TY_UPLOAD.
    DATA : IT_BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
           IT_BDCDATA_VIEW LIKE BDCDATA OCCURS 0 WITH HEADER LINE,
           IT_DATA(3200) OCCURS 0 WITH HEADER LINE,
           IT_FIELD(3200) OCCURS 0 WITH HEADER LINE,
           IT_BDCMSG TYPE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA GI_MSG LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA : CHAR1(500),
          CHAR2(500),
          CHAR3 TYPE STRING,
          V_SELECTION TYPE STRING.  " For View Selection
    DATA : W_MARC TYPE TY_MARC,
           WA_UPLOAD TYPE TY_UPLOAD,
           WA_BASIC TYPE TY_UPLOAD,
           WA_SALES TYPE TY_UPLOAD,
           WA_ERROR TYPE TY_UPLOAD,
           WA_MTART TYPE TY_MTART.
    DATA : VAR TYPE N,
           VAR1 TYPE STRING.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.   "SELECTION SCREEN
    PARAMETERS: P_FNAM LIKE RLGRAP-FILENAME.
    PARAMETERS: P_BAS LIKE RLGRAP-FILENAME.
    PARAMETERS: P_SAL LIKE RLGRAP-FILENAME.
    PARAMETERS: P_ERR LIKE RLGRAP-FILENAME.
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAM.
      PERFORM SEARCH USING P_FNAM.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_BAS.
      PERFORM SEARCH USING P_BAS.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_SAL.
      PERFORM SEARCH USING P_SAL.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_ERR.
      PERFORM SEARCH USING P_ERR.
    *&      Form  SEARCH
          text
         -->PFNAME     text
    FORM SEARCH USING PFNAME.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          STATIC    = 'X'
        CHANGING
          FILE_NAME = PFNAME.
    ENDFORM.                    "SEARCH
    START-OF-SELECTION.
      PERFORM UPLOAD_PROCESS USING P_FNAM.
      PERFORM OPEN_GROUP.
      PERFORM PROCESS.
      PERFORM CLOSE_GROUP.
      IF NOT T_BASIC[] IS INITIAL.
        PERFORM DOWNLOAD TABLES T_BASIC[] USING P_BAS .
      ENDIF.
      IF NOT T_SALES[] IS INITIAL.
        PERFORM DOWNLOAD TABLES T_SALES[] USING P_SAL .
      ENDIF.
      IF NOT T_ERROR[] IS INITIAL.
        PERFORM DOWNLOAD TABLES T_ERROR[] USING P_ERR.
      ENDIF.
    *&      Form  PROCESS
          text
    FORM PROCESS.
      LOOP AT T_UPLOAD INTO WA_UPLOAD.
        PERFORM CONV_ROUTINE  USING WA_UPLOAD-MATNR
                            CHANGING WA_UPLOAD-MATNR.
        SELECT COUNT(*) FROM MARA WHERE MATNR = WA_UPLOAD-MATNR.
        IF SY-SUBRC NE 0.
          MOVE-CORRESPONDING  WA_UPLOAD TO WA_BASIC.
          APPEND WA_BASIC TO T_BASIC.
          CLEAR WA_BASIC.
          CONTINUE.
        ENDIF.
        SELECT COUNT(*) FROM MARC WHERE MATNR = WA_UPLOAD-MATNR
                                        AND WERKS = WA_UPLOAD-WERKS
                                        AND PSTAT LIKE '%V%'.
        IF SY-SUBRC NE 0.
          MOVE-CORRESPONDING  WA_UPLOAD TO WA_SALES.
          APPEND WA_SALES TO T_SALES.
          CLEAR WA_SALES.
          CONTINUE.
        ENDIF.
        CLEAR : WA_MTART.
        SELECT SINGLE MATNR MTART FROM MARA INTO WA_MTART WHERE MATNR = WA_UPLOAD-MATNR.
        PERFORM BDC_DYNPRO      USING 'SAPLMGMM' '0060'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'RMMG1-MATNR'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=AUSW'.
        PERFORM BDC_FIELD       USING 'RMMG1-MATNR'
                                      WA_UPLOAD-MATNR.
        CALL FUNCTION 'MATERIAL_BTCI_SELECTION_NEW'     " Function module
        EXPORTING
          MATERIAL                  = WA_UPLOAD-MATNR  " Material number
          MATERIALART               = WA_MTART-MTART          " Material Type
          SELECTION                 = 'V'              "
          TCODE                     = 'MM02'           " Tcode where view's are called.
        TABLES
          BTCI_D0070                = IT_BDCDATA_VIEW
        EXCEPTIONS
          MATERIAL_NOT_FOUND        = 1
          MATERIAL_NUMBER_MISSING   = 2
          MATERIAL_TYPE_MISSING     = 3
          MATERIAL_TYPE_NOT_FOUND   = 4
          NO_ACTIVE_DYNPRO_SELECTED = 5
          NO_AUTHORITY              = 6
          OTHERS                    = 7.
        READ TABLE IT_BDCDATA_VIEW WITH KEY FVAL  = 'X'.
        IF SY-SUBRC = 0.
          V_SELECTION = IT_BDCDATA_VIEW-FNAM.
        ELSE.
          CONTINUE.
        ENDIF.
        VAR = IT_BDCDATA_VIEW-FNAM+17(2).
        VAR = VAR + 3.
        CONCATENATE 'MSICHTAUSW-KZSEL(' '0' VAR ')' INTO VAR1.
        PERFORM BDC_DYNPRO      USING 'SAPLMGMM' '0070'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'MSICHTAUSW-DYTXT(06)'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM BDC_FIELD       USING VAR1
                                       'X'.
        CLEAR VAR.
        CLEAR VAR1.
       PERFORM BDC_FIELD       USING 'MSICHTAUSW-KZSEL(06)'
                                     'X'.
        PERFORM BDC_DYNPRO      USING 'SAPLMGMM' '0080'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'RMMG1-VKORG'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM BDC_FIELD       USING 'RMMG1-WERKS'
                                      WA_UPLOAD-WERKS.
        PERFORM BDC_DYNPRO      USING 'SAPLMGMM' '4004'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=BU'.
       PERFORM BDC_FIELD       USING 'MAKT-MAKTX'
                                     'MTI_ESE_HALB_01'.
        PERFORM BDC_FIELD       USING 'MARC-STEUC'
                                      WA_UPLOAD-STEUC.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'MARC-HERKR'.
        PERFORM BDC_FIELD       USING 'MARC-HERKL'
                                      'IN'.
        PERFORM BDC_FIELD       USING 'MARC-HERKR'
                                      'MAH'.
        PERFORM BDC_TRANSACTION USING 'MM02'.
    move the error record into seperate internal table nad down load it ****
        IF MESSTAB-MSGTYP = 'E'.
          MOVE-CORRESPONDING WA_UPLOAD TO WA_ERROR.
          APPEND WA_ERROR TO T_ERROR.
          CLEAR WA_ERROR.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "PROCESS
    *&      Form  UPLOAD_PROCESS
          text
         -->PFNAME     text
    FORM UPLOAD_PROCESS USING PFNAME.
      DATA : PFNAME1 TYPE STRING.
      PFNAME1 = PFNAME.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          FILENAME            = PFNAME1
          FILETYPE            = 'ASC'
          HAS_FIELD_SEPARATOR = 'X'
        TABLES
          DATA_TAB            = T_UPLOAD[].
      IF SY-SUBRC <> 0.
      ENDIF.
    ENDFORM.                    "UPLOAD_PROCESS
    *&      Form  CONV_ROUTINE
          text
         -->P_INPUT    text
         -->P_OUTPUT   text
    FORM CONV_ROUTINE   USING    P_INPUT
                     CHANGING P_OUTPUT.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = P_INPUT
        IMPORTING
          OUTPUT = P_OUTPUT.
    ENDFORM.                    "CONV_ROUTINE
    *&      Form  DOWNLOAD
          text
         -->GI_FINAL   text
         -->PFNAME     text
    FORM DOWNLOAD TABLES
                  GI_FINAL
                         USING  PFNAME .
      DATA : FNAME TYPE STRING.
      FNAME = PFNAME.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                        = FNAME
          FILETYPE                        = 'DAT'
         WRITE_FIELD_SEPARATOR           = 'x'
            HEADER                          = '00'
          IMPORTING
            FILELENGTH                      =
        TABLES
          DATA_TAB                        =  GI_FINAL[]
          FIELDNAMES                      = GI_FIELDNAMES[]
      IF SY-SUBRC = 0.
        MESSAGE 'FILE DOWNLOADED SUCCESSFULLY' TYPE 'I'.
      ENDIF.
    ENDFORM.                    " DOWNLOAD
    Regards
    Siva Prasad

  • How to transfer files from mac to ipad without using itunes

    how to transfer files from mac to ipad without using itunes ???
    as i want to use my ipad for official use as well...please suggest..

    well to be 100% technical, no you didn't but that aside, it good to know there are ways for people to transfer music into the default apps without iTunes, if they have a need.
    I tend to use 3rd party apps for documents, like your mentioned iExplorer etc, which are handy.
    I see from a search the two "apps" you mentioned are not iOS apps, which I had assumed, SyncPod and FreeSync are apps for your computer, that would explain their access to the default Music/Video apps.
    I had wondered how Apple had allowed iOS apps in the store that could get around the sandboxing in iOS of apps.
    Message was edited by: CGW3

Maybe you are looking for