Hello, my name is Ross Bannister I am an I.T. Administrator for a construction company, I enjoy technology, outdoors, and my family. I made this website mostly as a place to share information that I have struggled to figure out or just share life experiences and I am starting to dabble in video creating, which has also become a challenge in itself. My wife says i have way too many hobbies.... and she is not wrong.
When I would come home from hunting and it came time to offload all the video and from my cameras I’d have to sit there and manually copy the files over and wait, then swap cards, manually copy and wait, I generally have 4 cards to offload upto 100GB of data at a time. So I decided to look into how to automate it all, first thing that came to mind was autorun but apparently it has been removed from usb devices in newer versions of windows. After come googling I came across a software that brings autorun back to windows, called “APO USB Autorun” [link to download below].
I decided to play around with this new software a bit and though to myself if each device just had a script on it that moved all the files over with an autorun function boom I could just pop the cards in and let it do its thing automatically!
One downside with this method is you have to use a USB card reader, and you have to plug the card reader in, to the usb port, not just plug the sd card into the reader, so keep that in mind.
Below is the code in its entirety what you want to do is make both files in the base directory of your SD card one named “filecopy.bat” and “autorun.inf” an easy way to do this is to right click in the directory and go to New>Text Document and replace the NewTextDocument.txt with the required file names.
After you have the files created open autorun.inf with notepad or notepad++ and paste this into it.
Save that file, then do the same for filecopy.bat
::>>time and date stamp YYYYMMDD, HHMMSS and YYYY-MM-DD_HH-MM-SS
for /f "delims=" %%a in ('wmic OS Get localdatetime ^| find "."') do set dt=%%a
::uncomment next 2 lines to preview the date stamp
::>>creates subfolder under date for camera, leave blank if you want all pictures in one directory
::>>destination location of your video files \cameraname\ should be uniquie per camera name so files are organized by camera
::>>source location of video files %cd% automatically uses your sd cards drive letter including first slash E.G. G:\
::>> creates new directory in the offload folder with the date and camera subfolder
if not exist "%servpath%" mkdir "%servpath%"
::>> copies files from %vidpath% to %servpath%
copy "%vidpath%" "%servpath%"
::>> creates temp directory for text comparison files if it doesnt exist
if not exist "%cd%temp" mkdir %cd%temp\
::>>writing a text file containing all the file contents from vidpath and servpath
dir "%vidpath%" /-p /a-d /o:gn | FIND "/" > %cd%temp\DirContents.txt
dir "%servpath%" /-p /a-d /o:gn | FIND "/" > %cd%temp\servercp.txt
::>> comparing file contents of both directories to make sure they mattch before wiping the card
::>> then if file lists and sizes dont match it goes down to :files_differ and deletes temp folder and files from %vidpath%
fc /b %cd%temp\servercp.txt %cd%temp\DirContents.txt > nul
if errorlevel 1 goto files_differ
::>> if all files and filesizes match in %vidpath% and %servpath% then it deletes the originals from %vidpath% then removes temp folder
del /q "%vidpath%\*"
rmdir /q /s "%cd%temp"
::>> uncomment next line to get verification message
::msg %username% copy success!
::>> if copy failed this removes the temp directory and the new subfolder in
rmdir /q/s "%cd%temp"
rmdir /q /s "%servpath%"
::>> uncomment next line to get fail message
::msg %username% Copy failed please retry
it’s pretty much self explanatory the only things you need to touch are below, and I think I commented everything well enough.
“camname=camnamehere” This setting will only add a folder for a certain camera in the dated folder where pictures/videos are dumped. EG C:/pix/01/14/2020/camnamehere/ so you want to be sure to use different names on each SD card if you want them organized. “set servpath=\server\pictures\%stamp%\%camname%\” This setting represents the base folder where you would like to dump pictures/videos to EG mines in a windows share on my server called pictures. “set vidpath=”%cd%DCIM\100NIKON\”” This setting tells the script where your pictures are on the SD card. LEAVE %CD% and do not add a backslash after it this is a variable that automatically puts your drive letter in, so if your card looks like this on your pc D:\DCIM\100NIKON and that’s the folder the pictures are in that is what you will type “%cd%DCIM\100NIKON\”
Upon completion of configuring the batch file and the autorun.info file, go ahead and install “APO USB Autorun” which can be found HERE, unplug your card reader and plug it back in, it should start copying!
Tip, to do multiple at once, get a usb hub and multiple readers then just plug the hub in it should run the script on all drives when they are all detected.
We did something a little different for this video, something fun and not exactly hunting related. The video is a satirical look into how powerful and scary the AR-15 is, by comparing the damage it does vs other weapons against a mighty foe, watermelons! There was a surprise with the AR-15 I couldn’t believe how much destruction it caused!!! Anyhow, we had fun making the video and hope you enjoy it too! Thank you for reading.
The opening day of Sept 1st 2019, was pretty pleasant woke up to temperatures around 64 degrees quite humid but a slight breeze made it feel great with a hoodie on, my friend Bo accompanied me. The morning spots we picked weren’t so great we saw a few but only shot one. The afternoon it really picked up on a new spot that I decided to try, bagged 7 in just over an hour! The next morning, Labor day, I took a break from dove and took my dad fishing since he hadn’t been out of the house in a while, then I went back out, with my daughter Ahri, to that same spot I went opening evening. I let Ahri run the camera…. she could use a little more practice but overall she did alright haha, we bagged 7 more in about an hour they were loving that Mojo decoy. Ahri was pretty damn good at remembering where the birds fell, way better than me anyways.
Overall it was a pretty enjoyable weekend, it was great to get out of the house and back into the woods (or field rather), and a great way to start the fall hunting season.
I had an issue where if I was using my outside domain address to connect to the web server it would take roughly 4 minutes to generate a PDF after googling for what seemed like an eternity I saw something that caught my eye in a random discussion about mPDF not related to invoice plane.
So, firstly PDF’s generate fine when using a local address eg http://192.168.10.2/iplane but if i connected to it using wagex.org/iplane it would take minutes to generate a PDF or send an email with PDF attached.
SOLUTION: enable SSL on the web server and connect using https, yes its that simple that solved my issues all together.
dumb short topic i know, but holy cow it took me forever to find that fix and it had nothing to do with invoice plane so hopefully someone having the same issue finds this and it helps.
Man its changing quickly figured it deserved another post since I’ve added another server into the mix to handle the video camera recording. Reason being using Intel Quicksink on the newer Intel cpu’s takes a huge load off of the cpu and saves a ton in power consumption, also I wanted to learn how Active Directory and Domain Controllers worked.
The OG server is running server 2012 r2 Datacenter with hyper-v for the virtual machines. For main storage there is an array of 5x 2TB hitachi drives in Raid 5. contacam has its own 1tb blue. There is a 2tb WD green I use to offload raw footage from my cameras onto, finally the operating system with the rest of the vm disks are on a WD Blue 1TB SSD
To begin, lets start with installing Transmission and OpenVPN. To install Transmission
sudo apt install transmission-daemon
Once it is installed you will want to access the web GUI from another machine so lets go into the settings.json and tweak a few things so you can access it.
First we need to stop transmission
sudo service transmission-daemon stop
Then with your favorite editor go ahead and open the settings file, I prefer nano so
We need to just change a couple lines, where I have 192.168.10.* type your lan range be it 192.161.* or 192.168.0.* the * is a wildcard that will let anyone on your lan access the transmission web-GUI.
It started whenever I realized that I had been borrowing my wife’s uncle’s compound bow for 3 years and I wanted to return it to him, also with my shoulder getting progressively worse a lighter poundage bow or perhaps a crossbow would do me some good, so the research started and i came upon this starter set for $120 on sale it came with bolts, the bow, a scope, and some field points. After some research I figured out it had plenty of energy to take white tail deer though I was still kind of concerned it was borderline, though I went ahead and pulled the trigger on Amazon.
When I received the bow I was excited to get it put together and fire it, after a few shots I already had bent all of the aluminum bolts that came with it, and ended up buying some cheap carbon express wolverine 20″ bolts from Walmart and some cheap Allen broad heads and extra field points. To improve the accuracy I modified the scope rail because the scope already had yardage markers, and the play in the mount due to the zeroing system built into it kind of hurt the accuracy a bit, so I pinned the mount in place so it couldn’t move, you can see the process and data HERE.