Launchd jobs OSX Server

Discussion in 'Mac Basics and Help' started by carefree, Oct 19, 2015.

  1. carefree macrumors newbie

    Joined:
    Oct 6, 2015
    #1
    Hi Guys,

    Having an annoying issue with a Launchd job i created. I created the plist file and saved it in /library/launchdaemons. All it does is call a bash script and run an rsync command. The rsync command is
    rsync -av /volume/userdata/files /volume/userdata/backup.

    The job launches fine and runs right through, i have a log file so i can see what has been copied. The problem being every time it runs via launchd it copies everything over each time. If i just go to the directory where the bash script is located and run it via the terminal it only copies the modified files if any. Just to throw another spanner in the works, if i throw an 'n' or dry run command into the bash script and run it via launchd the log file displays that no files would need to be copied which is of course correct!

    My main question is why when the bash script is run via launchd why does it copy everything over but show me that it wont if i do a dry run, i have not set it to run as sudo or anything like that either.

    Hope someone may have an idea to what i am doing wrong

    Thanks all
     
  2. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #2
    Well for the command to backup all the files under the files directory to the backup directory I would use.

    Code:
    rsync -av /Volumes/userdata/files/* /Volumes/userdata/backup/
    
    Now this would backup everything under the files to the backup directory hopefully the volume you had in there is a typo when posting here. Also why the verbose output in a script that will run in the background that is not necessary. Now it is not the Apple way of doing things these days but I would give a cronjob a try with a crontab -e in Terminal with something like this as the entry.

    Code:
    @daily /path/to/rsync/script.sh
    
    This will run it once a day at midnight you could have it run anytime you choose using an example in the page linked below if wanting to change it to a different time of day to run or use @hourly for every hour running. As well I would make sure that the owner of the files and backup directories are the same user that userdata in the path has me wondering if there are multiple owners in there.

    https://www.pantz.org/software/cron/croninfo.html
     
  3. chrfr macrumors 603

    Joined:
    Jul 11, 2009
    #3
    What is the exact syntax you're using in your LaunchDaemon and script?
    Also, LaunchDaemons always run as root so sudo is superfluous there. If you have a command that should run as the logged in user, it goes in LaunchAgents.
     
  4. carefree, Oct 19, 2015
    Last edited: Oct 19, 2015

    carefree thread starter macrumors newbie

    Joined:
    Oct 6, 2015
    #4
    Many thanks for the in-depth reply. I see what you mean about the v flag, its not really required so will remove that for sure. As for the directory themselves they were just made up but i will post them exactly how they are.
    /volume/userdata/work-files (this is the source directory, which is a physical drive in the MAC server) /volume/userdata/backup-userdata/work-files (this is a seagate network nas) I did try putting smb://192.168.1.5/userdata/backup-userdata/work-files instead of having the name 'volume' in the command line incase that was causing the issue but the same thing happened.

    The files will have a lot of different owners i guess as these are all the company files, i am not running the command as sudo just as the regular admin account on the server.

    I will have a look a cron but from what i understood launchd has taken over from cron. I kept getting cron errors saying it wasnt there when i did look into trying to set up a job.

    Thanks again


    EDIT

    chrfr - Hi mate, just saw your post as i replied to the first comment, i will try what you mention as that could be the culprit! i have pasted my plist script below so you can see.

    I have just tried moving the launchd plist to the launchagents folder and run it from there instead and it appears to be doing the same thing copying all the files over.

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>com.file.backup</string>
    <key>ProgramArguments</key>
    <array>
    <string>/Users/admin/desktop/backups/file-backup.sh</string>
    </array>
    <key>StartCalendarInterval</key>
    <dict>
    <key>Hour</key>
    <integer>1</integer>
    <key>Minute</key>
    <integer>0</integer>
    </dict>
    </dict>
    </plist>
     
  5. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #5
    Now your positive that is not /Volumes? That is the only way I have ever seen it in OSX having never used the server variety who knows perhaps they have changed it there. Now the IP should not be required if you see that nas in the /Volumes directory already mounted in the OSX server. What kind of files system is on the nas? If not HFS+ you could be running into errors due to the permissions/attributes not being copied over properly making the rsync command think it needs to copy all the files but you say it goes well from command line so it has to be something to do with the user running the launchd messing it about.

    Hmm I am on Mavericks it is still here.

    Code:
    MacUser2525:~$ crontab -e
    crontab: no changes made to crontab
    
    What kind of error are you getting?
     
  6. carefree thread starter macrumors newbie

    Joined:
    Oct 6, 2015
    #6
    Apologies i missed the 's' of volume you are correct.

    As for the filesystem on the nas, its a seagate central box so i believe it just NTFS. Its not mounted or anything it shows up down the side of finder as a shared device named 'Backup' If i double click it i can connect to it with the required credentials. I have also tried mapping the nas via IP over smb as well which again displays the device in finder under the shared tab.

    Like you mention i thought it may be due to permissions etc but it works via the command line just fine when its run that way. I could try creating the plist file again to see if it makes any difference but i cant see that it would. When i edit the file i do i via sudo and when i load and unload the file via launchd i have to use the sudo command otherwise it wont let me but thats the only time sudo is used. Its not used in the bash script at all.

    As for cron when i type crontab -l there is nothing there so i typed crontab -e and got a blank screen with the following line at the bottom "/tmp/crontab/WA3IsVaadQ" 1L, 1C. I hit a and entered the line 0 10 * * * (/shell location) hit esc the :wq Terminal then said no crontab for root found so it was creating one. I then hit crontab -l and again nothing appeared? Am i doing something wrong here with cron?

    Thanks again for your kind help
     
  7. MacUser2525, Oct 19, 2015
    Last edited: Oct 19, 2015

    MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #7
    Your welcome. You have something weird going on there it works fine here.
    Code:
    MacUser2525:~$ nano /Users/MacUser2525/Bin/test.sh
    MacUser2525:~$ cat /Users/MacUser2525/Bin/test.sh
    #!/bin/bash
    echo "test" > ~/Bin/test_result.txt
    MacUser2525:~$ chmod +x /Users/MacUser2525/Bin/test.sh
    MacUser2525:~$ touch /Users/MacUser2525/Bin/test_result.txt
    MacUser2525:~$ crontab -e
    crontab: installing new crontab
    MacUser2525:~$ crontab -l
    @hourly /Users/MacUser2525/Bin/test.sh
    MacUser2525:~$ cat Bin/test_result.txt
    
    MacUser2525:~$ cat Bin/test_result.txt
    test
    
    What does the output of whoami show you in Terminal where you are doing the crontab -e. It should say root since that is what it was telling you it was creating the entry for.
     
  8. carefree thread starter macrumors newbie

    Joined:
    Oct 6, 2015
    #8
    Thanks again for your help,

    This is the main admin account terminal result, i done crontab -l and this is what i get

    server:~ admin$ crontab -l
    (this line is blank in the terminal)
    server:~ admin$

    I then hit crontab -e and select 'A' to edit and put in this 01 10 * * * /Users/admin/desktop/backups/work-backup.sh hit 'ESC' then :wq to exit.

    server:~ admin$ crontab -l
    (this line is blank in the terminal)
    server:~ admin$
    crontab: installing new crontab

    When i then go to crontab -l my crontab appears which is great!

    server:~ admin$ crontab -l
    (this line is blank in the terminal)
    server:~ admin$
    crontab: installing new crontab
    server:~ admin$ crontab -l
    01 10 * * * /Users/admin/desktop/backups/work-backup.sh

    The only problem i had with this was it didnt appear to run, i have set a log file to be outputted in the bash script but it didnt appear to come out so wasnt sure if the job actually ran.

    Was also wondering how to go about mapping this nas box permanently on the server because if its rebooted i always end up having to do a 'connect as' to connect to the shared device from the finder menu. Is there a way it can be mounted somehow?

    Thanks again
     
  9. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #9
    Well that is progress you have job there, can you post the script? I found this while searching around last night on this idea was going to post it then but got caught up in the election results here. I am thinking that this method can be what you need to just connect to the server. Even if you get it to poll every hour or so or for that matter when the rsync job runs it can first try to detect then load if not connected the server. BTW just do a test job like I showed earlier once you confirm that entry works then you can fine tune the script/time it executes later.

    http://www.bluepiccadilly.com/2012/...rive-when-your-computer-starts-or-wakes-sleep
     
  10. carefree thread starter macrumors newbie

    Joined:
    Oct 6, 2015
    #10
    Thanks again for that info, i shall check out the link for sure. It seems to be working ok and i set it to run at 01:05 and the log file showed that it ran which was good. The only problem i am finding now is again that when the job is run via cron it seems to copy all the files instead of the updated ones. If i was to run the same rsync command in the bash script just manually in the terminal it would only copy the modified files which is what i want. Very strange behaviour indeed.

    The script i use is below

    #!/bin/bash
    #Work Backup
    rsync -av /Volumes/User\ Data/Work /Volumes/admin/BACKUP-User\ Data --log-file=/Users/admin/Desktop/Backups/fennes-backup.log

    Thanks as always
     
  11. MacUser2525, Oct 21, 2015
    Last edited: Oct 21, 2015

    MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #11
    Your welcome. Strange is not the word that command should be ran identically on both runs of the script. Now when looking at the output in the log how are you determining it was actually copying the file. Does it show such and such file was copied? Because rsync will show output on a file that can be copied over into the log even if no transfer has occurred. I see that all the time when syncing up my files it shows that it has processed the file by there is/was no transfer involved and if that output is being redirected into the log file well you can think it is doing copy but it is not.

    Edit: So added a --log-file to one of my scripts deleted file off of spare machine that has the first copy of my backups.

    Code:
    cat test.log
    2015/10/21 09:30:11 [751] building file list
    2015/10/21 09:30:11 [751] .d..t....... Movies/Movies_DVD/not_watched/Alfred_Hitchcock/Blackmail/
    2015/10/21 09:30:21 [751] <f++++++++++ Movies/Movies_DVD/not_watched/Alfred_Hitchcock/Blackmail/Blackmail_1929.mkv
    2015/10/21 09:30:22 [751] sent 596,641,227 bytes  received 4,603 bytes  47,731,666.40 bytes/sec
    
    That is what I saw so no stray output is re-directed to answer my own question. In that case if you are seeing that output like I did I do not think I have a clue on why unless it is as I was thinking earlier some kind of ownership/permission of the user running the script process messing it about. Perhaps a comparison of the user/owner/group on the destination to the source would be in order. Rsync has ignore options for them I had to set the no group option once when it was doing similar to me. Do not remember if it was copying data at the time or just having to change the group though. Ah and while I am thinking options I noticed no --delete in the rsnc line that removes deleted files on the source from on the destination thus freeing up that space for files you want to keep. Otherwise the deleted on source files will stay on the destination forever if not manually deleted.
     
  12. carefree thread starter macrumors newbie

    Joined:
    Oct 6, 2015
    #12
    Thanks for testing this really appreciate your time mate. Done a little test myself and maybe what is actually being logged in the log file isnt necessarily being copied. I have an example below, i have pasted an image of the command window and the rsync command i used. You can see from the command windows what files were updated and it looks right to me so im happy with that.

    rsync -av /Volumes/User\ Data/Parklands /Volumes/admin/BACKUP-User\ Data --log-file=/Users/admin/Desktop/Backups/Parklands-backup.log

    http://i.imgur.com/4dhmYjK.png

    The log file on the other hand seemed to have a lot of files logged.

    2015/10/22 09:47:21 [78509] receiving file list
    2015/10/22 09:48:13 [78509] >f..tp... Parklands/.DS_Store
    2015/10/22 09:48:18 [78509] .d..t.... Parklands/.TemporaryItems/folders.1059/TemporaryItems/
    2015/10/22 09:48:23 [78509] .d..t.... Parklands/.TemporaryItems/folders.1103/
    2015/10/22 09:48:28 [78509] >f..t.... Parklands/Bride's Table Plans/Master Plan & Name/Round Top Banqueting hall & 8 tables.doc
    2015/10/22 09:48:33 [78509] .f.....g. Parklands/Chef/Russell/Menus/619b.doc
    2015/10/22 09:48:38 [78509] .f.....g. Parklands/Chef/Russell/Menus/CANAPES.doc
    2015/10/22 09:48:43 [78509] .f.....g. Parklands/Chef/Russell/Menus/FINGER BUFFET.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/Final Numbers.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/Function MENU C.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/Function Menu a.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/Function Menu.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/Function wine.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/MENU a1.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/Parklands Christmas Menu.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/Parklands Two Course Fork Buffet Menu.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/TERMS.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/eve buffet Fish.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Chef/Russell/Menus/wine.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Christmas Party/old stuff/xmas party 06.pdf
    2015/10/22 09:48:46 [78509] .f...p... Parklands/Client Quotes/New quotes 20% VAT/Master Quote 2017 20% VAT.xls
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/50068.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/50076.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/50084.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/559.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/607.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/608.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/619.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/634.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/745.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Barmitzvah letter - 1006.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Barmitzvah letter.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Master Letter.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Mulluck Wells.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Party let-1114.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Party let.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Sonia.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master - 1005.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master - 1012.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master - 1022.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master - 1034.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master - 1044.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master - 1047.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master - 994.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master -1001.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master -995.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master 1085.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master- charollote boucher.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master-1014.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master-1019.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master-1030.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master-1048 a.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master-1048 b.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master-1069.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master-1095.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master-1101.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master-1142.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only Master.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only_W1055.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue Only_W1078.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue only house 498.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue only house 746.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue only house w875.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue only house w893.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue only house-1073.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue only house-943.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue only house.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue only house.doc760.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/Venue only house891.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/W50061venueonly.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/asian 50065.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/asian W50058.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/asianw50060.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/asianw581.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/checklist Function.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/checklistW&R_6hrs.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/checklist_RO.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/checklist_W&R.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/checklist_indian.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/p_mtg call up.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/party etc_.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/party w614.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/rec_ltr.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/~$ecklist_indian.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Client Quotes/Old Letters/~$nue Only Master.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Confirming Letters/Conf Venue only.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Confirming Letters/Conf.event.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Confirming Letters/conf.reception only.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Confirming Letters/conf.venueonly.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Confirming Letters/conf.w&r.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Confirming Letters/Current confirmations/Conf.event W619.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Confirming Letters/Current confirmations/conf.reception only 530.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Confirming Letters/Current confirmations/conf.reception only821.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Confirming Letters/Current confirmations/w534.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Cresta/fennes new year rough.jpg
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Cresta/james table plan
    2015/10/22 09:48:46 [78509] .d..t.... Parklands/Current Running Orders 2015/November/
    2015/10/22 09:48:46 [78509] >f..t.... Parklands/Current Running Orders 2015/November/1st November 2015 - W36003.doc
    2015/10/22 09:48:46 [78509] >f.st.... Parklands/Current Running Orders 2015/November/26th November 2015 Wedding Awards.docx
    2015/10/22 09:48:46 [78509] .d..t.... Parklands/Current Running Orders 2015/October/
    2015/10/22 09:48:46 [78509] >f.stp... Parklands/Current Running Orders 2015/October/23rd October 2015 W39419.doc
    2015/10/22 09:48:46 [78509] >f.st.... Parklands/Current Running Orders 2015/October/25th October 2015 - W37774.docx
    2015/10/22 09:48:46 [78509] .f...p... Parklands/Current Running Orders 2016/July/8th July 2016 - F38513.docx
    2015/10/22 09:48:46 [78509] >f.st.... Parklands/Current Running Orders 2016/March/29th March 2016 - W39024.docx
    2015/10/22 09:48:46 [78509] .d..t.... Parklands/Current Running Orders 2017/June/
    2015/10/22 09:48:46 [78509] >f+++++++ Parklands/Current Running Orders 2017/June/17th June 2017 - W38363.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Current Running Orders OLD/Old Running Orders/July 07/20 July 07 - floor layout.ppt
    2015/10/22 09:48:46 [78509] >f..t.... Parklands/DJ Bookings/DJ Bookings 2015/October 2015/24th October 2015 - W35683.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Financial items/rec_ltr.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Financial items/Invoice Templates/Deposit_inv.xls
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Financial items/Invoice Templates/VAT Ex.xls
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Financial items/Invoices/Old Invoices/495.xls
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Financial items/accounts spreadsheets/Wages/4CFFC000
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Housekeeping/invoices_recs/rec_ltr.doc
    2015/10/22 09:48:46 [78509] .d...p... Parklands/IT/.TemporaryItems/
    2015/10/22 09:48:46 [78509] .d..t.... Parklands/IT/Liam/
    2015/10/22 09:48:46 [78509] >f.stp... Parklands/IT/Liam/Parklands-backup.log
    2015/10/22 09:48:46 [78509] .d..t.... Parklands/Keys_Database/
    2015/10/22 09:48:46 [78509] >f+++++++ Parklands/Keys_Database/rw.ldb
    2015/10/22 09:48:46 [78509] >f.st.... Parklands/Keys_Database/rw.mdb
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/619b.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/CANAPES.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/FINGER BUFFET.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/Final Numbers.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/Function MENU C.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/Function Menu a.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/Function Menu.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/Function wine.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/MENU a1.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/Parklands Christmas Menu.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/Parklands Two Course Fork Buffet Menu.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/TERMS.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/eve buffet Fish.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Menus/wine.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Offers slips etc/No visit lables.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Offers slips etc/quendon mailshot.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Offers slips etc/slips_Quen.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Standard Letters/Old standard letters/Xmas party.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Stickers/Lab_Final.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Stickers/Lab_Qtr.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Stickers/Lab_RONLY.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Stickers/Lab_VENONLY.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Stickers/Lab_W&R.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Stickers/Lab_file#.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/Old terms and conditions/FunctionT&C.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/Old terms and conditions/Indian&JewishT&C.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/Old terms and conditions/Master Venue only.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/Old terms and conditions/termsandconditions.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/1047.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/1073.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/498.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/559.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/634.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/676.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/678.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/760.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/772.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/773.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/773b.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/875.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/W50009.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/W50010.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/W50023.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/W50035.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/W581.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Terms and conditions/sent out terms and conditions/W608.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Visio Table Plans/Old Plans/numbered120+ Marquee120x40.vsd
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Wedding & Events Managers/Laura/2010 updated.pdf
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Wedding & Events Managers/Laura/venue only checklist.xls
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Wedding & Events Managers/Laura/House Meetings/Notes from Parklands House Meeting held on 23 September 2009.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Wedding & Events Managers/forms/tillrecsheet.doc
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Wedding Packs/Old Wedding Packs/Package Deals/seasonal sensations front.pdf
    2015/10/22 09:48:47 [78509] sent 1242 bytes received 909045 bytes total size 21199369364

    Just curious to know why all these files are appearing in the log really considering the actual terminal window showed only the updated files?

    Thanks again mate
     
  13. MacUser2525 macrumors 68000

    MacUser2525

    Joined:
    Mar 17, 2007
    Location:
    Canada
    #13
    Your welcome. It looks like it is that stupid group thing I mentioned already from the f .....g in the lines. Looking at the sent 1242bytes at the bottom it is copying next to nothing that is 1.2kb sent so it is as I suspected just "junk" output in there to confuse a person into thinking that something is being copied when in fact is is not. Your good to go it is not copying anything but the group changes, think it is --no-group you put in the line to stop that, been awhile since I looked at the man page though you may want to check that if it gives you error when put in the line.

    Code:
    2015/10/22 09:48:46 [78509] .f.....g. Parklands/Wedding Packs/Old Wedding Packs/Package Deals/seasonal sensations front.pdf
    2015/10/22 09:48:47 [78509] sent 1242 bytes received 909045 bytes total size 21199369364
     

Share This Page