• FTP script to automate file transfers to remote server

    Below you will find a FTP script that will allow you to automate your files transfers without requiring any user input. The only problem with this method is you will be putting a username and password into the script file, but having a simple automated FTP file upload or FTP file download probably outweighs the drawback.

    So to describe what this script does:
    First the script will tar and zip all files and folders in the /var/log/ folder to the home directory of the user who runs the script. This will create a dated zip file in the user’s home folder who ran the script. Then it will FTP the files to the remote host. You can then add the script to a cron job to execute it everyday, week, hour, etc.
    Read the rest of this entry »

    Share
  • WMV Playback on MAC

    There are many options for what to use to play WMV files on OS X. The first of these is Flip4Mac which is a plugin for Quicktime. With Windows Media® Components for QuickTime, by Flip4Mac™, you can play Windows Media files (.wma and .wmv) directly in QuickTime Player and view Windows Media content on the Internet using a Web browser. Here are 2 links
    Link #1
    Link #2
    cellent option is VLC player for MAC (this is my favourite media player):
    Read the rest of this entry »

    Share
  • Using the SCP command

    SCP aka secure copy or ssh copy is just about the easiest way to quickly transfer files and folders on X based systems without the need to setup FTP servers and accounts. The scp command we use most often just for single files is:

    scp -P port file1 user@server2:~/

    This will simply copy file1 to the home directory of the user on server2. Since we use a non standard port, the -P is very important.

    Sometimes we want to dump a whole folder with subfolders using scp. This command will scp the folder and subfolders to the home folder of user at server2:
    Read the rest of this entry »

    Share
  • MAC OS Error code -6602

    A user was trying to connect to a windows network share and kept receiving MAC OS error code -6602.  Strangely enough there does not seem to be much useful information on this error so here is what we found.

    Read the rest of this entry »

    Share