search
top

Using xxcopy to copy files from subdirectories to one directory and combine

Ever wanted to copy files in sub-directories into a single directory? Well there’s a handy utility for Windows systems called xxcopy that does this and more. What is XXCOPY ? A versatile file management tool for Microsoft Windows®. It is a command-line program (without graphical user interface). Supports all Windows versions (except Windows CE). It has more command switches (>230) than any other... read more

Creating Virtualbox Screenshots with VBoxManage

As a system admin by day I am always documenting how something was done so that others can do it themselves and also as a blogger as well. Text is wonderful but sometimes pictures are much better at explaining. With Windows and Linux there are many point and click solutions like Snipping Tool (Windows 7), KSnapshot (KDE) and many others, but sometimes the command line is better and can be scripted. One... read more

Using Computer Startup Scripts to Map Drives in Windows 2008 R2

Sometimes there are instances in which you need to map drives on specific servers and not all. One of the ways to accomplish this is through the use of startup scripts defined in local policy. For this need I just needed a server to map to another server resource, the G:\ drive in particular. Applies To: Windows 7,  Windows Server 2008 R2 Create the cmd script to contain the net use command to connect. In... read more

Keeping Logfiles at Bay with bash

From time to time there are instances in which an application creates logfiles that are big but you need them to fix an issue. Most times these are trace logs. Ran into a similar situation and came up with a short and simple bash script to address the issue. #!/bin/bash #################################################################### #  This will look for trace log  and zip them and deleting files... read more

Copying Files to Multiple Systems Simultaneously

Have you ever wonder a simple way to copy files and run commands on multiple machines from one command? Well there are several tools available that will allow us to do just that. I will discuss just pssh (Parallel SSH). pssh (Parallel SSH) pssh (Parallel SSH) is a command line tool that includes pscp and allows you to send commands and copy files to multiple server via a list or individually. Makes it... read more

« Previous Entries

top