List the directory access time

Hi All
I want to sort all directories in a file system,which is not accessed for last 1 year,can anybody help me in this

Files or directories? The directory access time is reset when you read it, which is done whenever you look inside it.
Do you back up your machine with anything that descendes through the file tree (tar, find/cpio, netbackup, networker), or do you have any cron jobs that run 'find' on the whole filesystem? If so, they'll reset the access time each time they run.
Darren

Similar Messages

  • Setting up the "Directory Access" application

    I was just looking at the "Directory Access" application, and noticed some services enabled by default (AppleTalk, Bonjour etc).
    I'm not using AppleTalk or Bonjour, so would it be useful to switch these off? (for security reasons or performance).
    Can I maybe safely switch off the other three services as well? (I dont use the computer for any file sharing, by the way).
    Thanks in advance for any advice on this.

    Hi, interesting questions, Bonjour is indeed a Hog, I'd give it a try, since you know how to change it.
    See these...
    http://hints.macworld.com/article.php?story=20050707222434355
    http://osxdaily.com/2009/09/15/disable-bonjour-by-turning-off-mdnsresponder/

  • Hi.  I'm trying to set-up the wireless access times in my Airport Utility.  I need to enter the "Description" and the "MAC Address" of each wireless client before I assign access times. What are these?  Thanks.

    Hi.  I'm trying to set-up the wireless access times in my Airport Utility.  I need to enter the "Description" and the "MAC Address" of each wireless client before I assign access times. What are these?  Thanks.

    Let's say that an iPhone is one of the wireless clients that you want to allow access to the network.
    The Description of this device is anything that you want to specify for easy identification purposes. For example, the Description might be something like......
    Rex's iPhone
    The MAC Address, also known as a Wi-Fi Address is  a unique indentifiction number that is assigned to every device. The number will always follow this form:
    xx : xx : xx : xx : xx : xx, where "x" could be a number or letter.
    To find the MAC Address or Wi-Fi Address of an iPhone or iPad.....
    On the Home screen.....
    Tap Settings
    Tap General
    Tap About
    Wi-Fi Address is the item that you want
    If you have a Mac computer......you can find the MAC Address or Wi-Fi Address as follows:
    Open System Preferences (gear icon on the dock)
    Open Network
    Click on Wi-Fi on the left
    Click Advanced at the lower right
    The Wi-Fi Address for the Mac is located at the bottom of the window
    Other wireless devices usually have the MAC Address or Wi-Fi Address on the label on the back or bottom of the device

  • Session List and Last Access Time

    I want to get a list of WebLogic's current/active sessions and find out
    the user's last access time for each session. How can I do this? I'm
    using WebLogic 4.5.
    Thanks in advance.
    Sincerely,
    William H. Stone
    X U M A <build-to-order e-business>
    William H. Stone
    160 Pine St., 2nd Floor
    San Francisco, CA 94111
    Phone:(415)777-9988
    Fax: (415)777-2704
    http://www.xuma.com

    I am trying to maintain simultaneous sessions with WebLogic and another
    app server. I am writing a daemon that will read thru the active
    session list and check to the last activity time. Based on this and a
    similar list I get from the other app server, I will "ping" the oldest
    session to keep it up to date. The result is that the sessions will not
    time out prematurely.
    Clear as mud?
    -WHS
    Mauricio Del Moral wrote:
    Many information about your WLS it could be viewed with the Weblogic
    Console....but exactly what are you trying to get???--
    X U M A <build-to-order e-business>
    William H. Stone
    160 Pine St., 2nd Floor
    San Francisco, CA 94111
    Phone:(415)777-9988
    Fax: (415)777-2704
    http://www.xuma.com

  • Increase the data access time in custom development scenarios,layouts etc.

    Hello All,
    We have developed some custom scenario come interface for our Man-hours planning and actual posting. We have also included some validation in them from time to time. Now, it has started taking much processing time during data entry as well as during data saving.
    Kindly suggest how can we reduce this time consumption.
    Thanks & Regards
    Saurabh

    Hi Suarabh,
    If I am not wrong you need to increase performance.
    Use the basis abap standard best practices to acheive this.
    This link can be helpful to you ...
    ABAP Performance and Tuning - ABAP Development - SCN Wiki
    SAP ABAP : best practices - performance techniques | SAP Consulting Development Implementation Remote Support Blog

  • LDAP support limited. How to configure Address Book / Directory Access?

    I complained to a sysadmin that my LDAP searches were returning very limited information (just surname and e-mail). He replied,
    "...[Address Book] can't be configured to query specific attributes, it can't be configured to show specific attributes except for the small set they have elected to permit, ... it doesn't even show cn/commonName which is a compulsory field in the inetOrgPerson schema or ou/organizationalUnitName which is the standard way of distinguishing components of an organization..."
    Directory Access seems to offer facilities for requesting specific attributes. I tried mapping them to Address Book fields, but with no improvement in the search results. Any tips?

    Here is some info I found on manually configuring and mapping schemas.
    Configuring LDAP Searches and Mappings
    Using Directory Access, you can edit the mappings, search bases, and search scopes that specify how Mac OS X finds specific data items in an LDAP directory. You can edit these settings separately for each LDAP directory configuration listed in Directory Access. Each LDAP directory configuration specifies how Mac OS X accesses data in an LDAPv3 or LDAPv2 directory.
    You can edit the mapping of each Mac OS X record type to one or more LDAP object classes.
    For each record type, you can also edit the mapping of Mac OS X data types, or attributes, to LDAP attributes.
    You can edit the LDAP search base and search scope that determine where Mac OS X looks for a particular Mac OS X record type in an LDAP directory.
    IMPORTANT: When mapping Mac OS X user attributes to a read/write LDAP directory domain (an LDAP domain that is not read-only), the LDAP attribute mapped to RealName must not be the same as the first attribute in a list of LDAP attributes mapped to RecordName. For example, the cn attribute must not be the first attribute mapped to RecordName if cn is also mapped to RealName.
    For detailed specifications of Mac OS X record types and attributes, refer to "Mac OS X Server Open Directory Administration for Version 10.4 or Later" (available at www.apple.com/server/documentation/).
    In Directory Access, click Services.
    If the lock icon is locked, click it and type the name and password of an administrator.
    Select LDAPv3 in the list of services, then click Configure.
    If the list of server configurations is hidden, click Show Options.
    Select a server configuration in the list, then click Edit.
    Click Search & Mappings.
    Select the mappings that you want to use as a starting point, if any.
    Click the "Access this LDAPv3 server using" pop-up menu and choose a mapping template to use its mappings as a starting point or choose Custom to begin with no predefined mappings.
    Add record types and change their search bases as needed.
    To add record types, click the Add button below the Record Types and Attributes list. In the sheet that appears, select Record Types, select one or more record types from the list, and then click OK.
    To change the search base and search scope of a record type, select it in the Record Types and Attributes List. Then edit the "Search base" field. Select "all subtrees" to set the search scope to include the entire LDAP directory's hierarchy from the search base down. Select "first level only" to set the search scope to include only the search base and one level below it in the LDAP directory's hierarchy.
    To remove a record type, select it in the Record Types and Attributes List and click Delete.
    To add a mapping for a record type, select the record type in the Record Types and Attributes List. Then click the Add button below "Map to __ items in list" and enter the name of an object class from the LDAP directory. To add another LDAP object class, you can press Return and enter the name of the object class. Specify whether to use all or any of the listed LDAP object classes by using the pop-up menu above the list.
    To change a mapping for a record type, select the record type in the Record Types and Attributes List. Then double-click the LDAP object class that you want to change in the "Map to __ items in list" and edit it. Specify whether to use all or any of the listed LDAP object classes by using the pop-up menu above the list.
    To remove a mapping for a record type, select the record type in the Record Types and Attributes List. Then click the LDAP object class that you want to remove from the "Map to __ items in list" and click the Delete button below "Map to __ items in list."
    Add attributes and change their mappings as needed.
    To add attributes to a record type, select the record type in the Record Types and Attributes List. Then click the Add button below the Record Types and Attributes list. In the sheet that appears, select Attribute Types, select one or more attribute types, and then click OK.
    To add a mapping for an attribute, select the attribute in the Record Types and Attributes List. Then click the Add button below "Map to __ items in list" and enter the name of an attribute from the LDAP directory. To add another LDAP attribute, you can press Return and enter the name of the attribute.
    To change a mapping for an attribute, select the attribute in the Record Types and Attributes List. Then double-click the item that you want to change in the "Map to __ items in list" and edit the item name.
    To remove a mapping for an attribute, select the attribute in the Record Types and Attributes List. Then click the item that you want to remove from the "Map to __ items in list" and click the Delete button below "Map to __ items in list."
    To change the order of attributes displayed in the list on the right, drag the attributes up or down in the list.
    Click Save Template if you want to save your mappings as a template.
    Templates saved in the default location are listed in pop-up menus of LDAP mapping templates the next time the current user opens Directory Access. The default location for saved templates is in the current user's home folder at this path:
    ~/Library/Application Support/Directory Access/LDAPv3/Templates
    Click Write to Server if you want to store the mappings in the LDAP directory so that it can supply them automatically to its clients.
    You must enter a search base to store the mappings, a distinguished name of an administrator (for example, uid=diradmin,cn=users,dc=ods,dc=example,dc=com), and a password. If you are writing mappings to an Open Directory LDAP server, the correct search base is "cn=config, suffix" (where suffix is the server's search base suffix, such as "dc=ods,dc=example,dc=com").
    The LDAP directory supplies its mappings to Mac OS X clients whose custom search policy includes a connection that's configured to get mappings from the LDAP server. The LDAP directory also supplies its mappings to all Mac OS X clients that have an automatic search policy. For instructions, see Configuring Access to an LDAP Directory and Setting Up Search Policies.

  • Directory Access and Permissions

    Hi,
    I work at a company that's having a problem setting up the new macs (Core 2 Duo iMac 24") our marketing department just ordered.
    The rest of our network uses windows, so we have active directory logins for everyone. We've setup the Directory Access on the new iMacs so that marketing users log in using their AD username and pw. The local user account that 10.4 generates is set to be a local admin, but the users are just normal users in AD.
    The problem we're having is with setting permissions for some Apps that require changes from the default settings. When I go to set permissions in the Info pane of a folder or app, I open the pull down menu for 'Owner' and go to 'Other...' at the bottom to grab the user from AD (because the user is not available in the top portion where local users can normally be selected). This is where the problem occurs. This opens up the "User Listing" box, which contains a long list of AD usernames, but does not have any AD usernames that were created less than 10 months ago. I checked with my Network Admin, and virtually no settings in terms of creating AD users have changed in the last two years.
    I don't know if this is a problem with settings on the AD side or the Mac side, but here's the Mac settings in Directory Access:
    +Services: AD is checked+
    +Authentication: Custom path selected, our domain is in the list+
    +Contacts: Same as Authentication+
    +Under AD:+
    +Forest and Domain are correct, computer is bound correctly.+
    +User Experience:+
    +Create mobile account is not selected.+
    +Force local home directory on startup is selected.+
    +Use UNC path from AD... is selected, smb: is selected as Network protocol.+
    +Default user shell is selected as '/bin/bash'+
    +Mappings: Nothing selected.+
    Administrative:
    +Prefer this domain server is checked and correct for our network+
    +Allow administration by is checked, domain admins and enterprise admins+
    +Allow authentication from any domain in the forest is selected+
    Is there anything in these settings that might cause the problem described above, or is the problem something else entirely, maybe on the AD side?
    I'm also wondering if anyone knows how to find out where Directory Access is grabbing this list of users from. Perhaps our Network Admin can find out what the problem is given that info.
    Thanks,
    Gabe
    Message was edited by: Gabe Stein

    I have exactly the same problem and ProtectHome wasn't the solution. "sudo minidlnad" works fine -- TV shows root and /home/blah/blah is accessible. However, I'm not able to make the daemon run as root. Just for testing purposes, I've made all the settings as loose as possible, but TV stills shows minidlna as username and the folder is not available (systemctl status reveals permission denied).
    minidlna.service:
    [Unit]
    Description=minidlna server
    After=network.target
    [Service]
    Type=simple
    User=root
    Group=root
    ExecStart=/usr/bin/minidlnad -S
    ProtectSystem=off
    ProtectHome=off
    PrivateDevices=on
    NoNewPrivileges=off
    [Install]
    WantedBy=multi-user.target
    minidlna.conf:
    user=root
    media_dir=/home/blah/blah
    What am I missing here? No possibility to run minidlna as root after the last update any more?
    Edit:
    Never mind. During all this testing I had forgotten "User=minidlna" to /etc/systemd/system/minidlna.service.d/override.conf. Daemon as root works after removing that line.
    Last edited by riivo (2015-03-19 14:38:18)

  • Windows 8 Last Access Time Stamps not working

     Hi I have been trying to fix a issue with last access time stamps not working when I open a file
    so will have time on created modified and accessed from when created but some are wrong like one file
    saying
    created ‎Sunday, ‎September ‎14, ‎2014, ‏‎5:19:32 AM
    modified  ‎Sunday, ‎September ‎14, ‎2014, ‏‎5:19:32 AM
    accessed Sunday, ‎September ‎14, ‎2014, ‏‎5:19:32 AM
    I'm not sure what can cause this please help thank you

    Hi whowhatwere,
    Are you only confused about the last access time not change when you open a file?
    If you want to know more details about modified and created time, we can refer to the following KB.
    http://support.microsoft.com/kb/299648/en-us
    About the accessed time, please refer to the following blog.
    How do I access a file without updating its last-access time?
    http://blogs.msdn.com/b/oldnewthing/archive/2011/10/10/10222560.aspx
    The blog mentioned that: In fact, the intuitive definition of access is more specific: It's "the last time I opened, modified, printed, or otherwise performed some sort of purposeful action on the file."
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • Ldap anonymous directory access

    I have a PCI vulnerability titled "LDAP Anonymous Directory Access permitted" which I need to fix. I disabled anonymous binds in the props of the ldap server object in question. However I guess this was not the fix.
    Is there a difference between anonymous binds and anonymous directory access? I was being told this is my problem - that bind is different than directory access so I fixed the wrong thing. I thought ldap was the directory access protocol, and bind was the connection being made to the directory using ldap. Ok. I'll quit typing now. any help is appreciated.
    Stacie White

    I would recommend this forum: novell.support.edirectory.netware
    Far more traffic.
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Support Forums Volunteer Sysop
    Novell does not officially monitor these forums.
    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.
    "StacieWhite" <[email protected]> wrote in message
    news:[email protected]..
    >
    > I have a PCI vulnerability titled "LDAP Anonymous Directory Access
    > permitted" which I need to fix. I disabled anonymous binds in the props
    > of the ldap server object in question. However I guess this was not the
    > fix.
    >
    > Is there a difference between anonymous binds and anonymous directory
    > access? I was being told this is my problem - that bind is different
    > than directory access so I fixed the wrong thing. I thought ldap was
    > the directory access protocol, and bind was the connection being made
    > to the directory using ldap. Ok. I'll quit typing now. any help is
    > appreciated.
    >
    > Stacie White
    >
    >
    > --
    > StacieWhite
    > ------------------------------------------------------------------------
    > StacieWhite's Profile: http://forums.novell.com/member.php?userid=1719
    > View this thread: http://forums.novell.com/showthread.php?t=331489
    >

  • Call waiting says "multiple calls" rather than listing the number or the contact.  Does anybody know how to fix this?

    Call waiting says "multiple calls" rather than listing the number or the contact.  This error is not consistent, sometimes it says "multiple calls" and other times it lists the contact.  This is happening on a coworker's iPhone 4s.  Does anyone know how to get it to list the contact every time?
    Thank you,
    Dan

    It sounds as though it may not be ending calls correctly, I would try restarting the phone, and then resetting all settings.

  • Monitoring the directory using C++

    Hi all,
    I want to write a C++ program, it has to monitor a particular diectory and this program to keep on watching that directory and has to display file name when a new event of file creation occurs. can anyone help me in this? please provide some good links. I'm new to solaris and i dont know is there any features to trigger that even.

    clamage45 wrote:
    You can use the standard Unix functions and data structures declared in <dirent.h>.
    ...If you also want to monitor subdirectories of the directory it will be more difficult.
    But I am nearly sure that there is no easy way to do this; only listing the directory content of each subdirectory cyclically (e.g. every minute) using the functions in <direnet.h>.
    You may use the directory's "last modified" timestamp to see if the directory has been modified or not - I'm not sure if this works.
    Martin

  • Every time I try to call or they call me, my phone beugs I can not immediatly to call, denied access the directory for 2 to 4 minutes after that it works again   I tried all but nothing, everything works except the call   I have an iPhone 4 Version 6.1.3

    every time I try to call or they call me, my phone beugs I can not immediatly to call, denied access the directory for 2 to 4 minutes after that it works again
      I tried all but nothing, everything works except the call
      I have an iPhone 4 Version 6.1.3
    thank you for your help

    That is the highest you will be able to go with 3g. You need 3gs or 4 to go any higher (multi processors and more memory needed).  Version 4.2.1 marks the end of your updates for that device.

  • How to list the contents of an OSX directory, and output to text file?

    hello there any hints with any known program that does following
    I have recorded my music directory to DVD and now i would like to make an .txt file what the dvd contains...cos its way of hand to write all 100xx files by hand...
    How to list the contents of an OSX directory, and output to text file?
    any prog that does that? any hints?
    best regards

    This script makes a hierarchical file listing all files in a folder and subfolder:
    Click here to launch Script Editor.
    choose folder with prompt "Choose a folder to process..." returning theFolder
    set theName to name of (info for theFolder)
    set thepath to quoted form of POSIX path of theFolder
    set currentIndex to theFolder as string
    do shell script "ls -R " & thepath returning theDir
    set theDirList to every paragraph of theDir
    set newList to {"Contents of folder \"" & theName & "\"" & return & thepath & return & return}
    set theFilePrefix to ""
    repeat with i from 1 to count of theDirList
    set theLine to item i of theDirList
    set my text item delimiters to "/"
    set theMarker to count of text items of thepath
    set theCount to count of text items of theLine
    set currentFolder to text item -1 of theLine
    set theFolderPrefix to ""
    if theCount is greater than theMarker then
    set theNestIndex to theCount - theMarker
    set theTally to -1
    set theFilePrefix to ""
    set theSuffix to ""
    repeat theNestIndex times
    set theFolderPrefix to theFolderPrefix & tab
    set theFilePrefix to theFilePrefix & tab
    if theTally is -1 then
    set theSuffix to text item theTally of theLine & theSuffix
    else
    set theSuffix to text item theTally of theLine & ":" & theSuffix
    end if
    set currentIndex to "" & theFolder & theSuffix
    set theTally to theTally - 1
    end repeat
    end if
    set my text item delimiters to ""
    if theLine is not "" then
    if word 1 of theLine is "Volumes" then
    set end of newList to theFolderPrefix & "Folder: > " & currentFolder & return
    else
    try
    if not folder of (info for alias (currentIndex & theLine & ":")) then
    set end of newList to theFilePrefix & tab & tab & tab & "> " & theLine & return
    end if
    end try
    end if
    end if
    end repeat
    open for access file ((path to desktop as string) & "Contents of folder- " & theName & ".txt") ¬
    with write permission returning theFile
    write (newList as string) to theFile
    close access theFile

  • Way to allow the user access to the saved lists of this Z report

    We have a Z report that we want to run at midnight each Sunday and then view the output/layout first thing Monday morning. We can schedule the report to run but it appears that the only way we can save the output as a 'file' for later viewing is by using the "Save with ID" option, which puts the output into a SAP 'saved list'.
    The problem with this is that it doesn't appear to be possible to access that list from the Z-report - it would appear that you have to go into SQ01 and use the 'saved list' button. This means giving the Z- report user access to SQ01 as well as Z-report, which, for security (SOD) reasons we don't want to do.
    We can run the report in foreground with the output option "File store" and save the output as a file to a specified location,. But this option doesn't appear to be available when the report is scheduled as a background job. If this is done, the background job runs but there's no output anywhere, as far as we can tell.
    So what want is to run the report in background but with the output option 'File store' or equivalent (i.e. an output stored somewhere that the report user can view). Is this not possible, or have we missed something in setting up the report run?
    Or is there a way to allow the user access to the saved lists of this Z report without giving them T-code SQ01?
    Thanks

    Hi !
    I just wonder if the answer from Varishtb below did solve your propblem.
    I have exactly the same problem as you. I also want to be able to look at the saved list without using the sq01.
    If you solved it I will be grateful to get the solution.
    regards Lars
    answer:
    You can call the infoset query directly from a transaction code. There's
    no need to copy it as a 'Z-report' (or as a custom report). In fact,
    everytime you're copying an infoset query to a report, you're calling
    for problems the next time you face an upgrade. (That is because SAP
    changes the internal logic used to handle the infosets queries from
    version to version)
    We're using some infoset queries and they work fine this way.

  • Time machine can't access the backup disk ''time machine backup'' on WD My Cloud, Time machine can't access the backup disk ''time machine backup'' on WD My Cloud?

    Every time I try to start my Mac's time Machine receive above message and it seems no possible to reopen/start properly the application.
    What is error OSS 2?

    WD Back up connection problems for Networked WD hard drive
    “Connection failed”
    “Can not find server”
    “There was a problem connecting to the server “WD ShareSpace-Backup”.”
    There may be two problems and associated solutions:
    Read only access
    It may be necessary to “create” a disk for the WD back up.
    Change Read Only Access
    The WD hard drive may automatically create a share for the Time Machine. This share appears in Finder as “WD_Backup”
    If you open WD interface through a web browser and go to
    Advanced Mode > Users>Folder Share permissions
    You will see it as “back up” or similar.
    As indicated by others click on the icon on the far left – a pencil and paper – and change the “NFS Access” from “Read Only” to “Full Access”
    For Networked back up dives it may be necessary to “create” a disk for the WD back up.
    The WD hard drive may automatically create a share for the Time Machine. This share appears in Finder as “WD_Backup”
    The password is “backup”, although others have suggested it is sometimes “admin”
    If when you open “Time Machine” and “Select Disk” time Machine says it “can not find…” or “can not connect to…” the server/disk it may be necessary to “create”, ”map”, or manually force your mac to connect to the “WD_Backup” folder share.
    To do this
    Open Finder
    Select GO>Connect to Server
    In the box at the top enter the IP address for your WD drive. You can find this in the top of your web browser or through your web browser interface with your WD Drive:
    Advanced Mode >Network>LAN
    The IP address will probably be in the format
    “192.168.0.X” where “X” is a number particular to your network
    In my case X used to be 2 but then changed to 3 – I don’t know why.
    Click “Connect” and enter the Name and password
    Name: “WD_Backup”
    Password: “backup”
    Click “registered user” and click “connect”
    Click the “+” button to add the server to the list in the lower box.
    Now open “Time Machine”
    Click “Select Disk”
    Your new “disk” / Folder share should appear in the list with the IP address below it thus:
    WD_Backup
    On “192.168.0.X”
    As in the screen shot below.
    Select this disk by clicking on the disk and then on “use disk”.
    You should now be away………….

Maybe you are looking for