Search

You can find the results of your search below. If you didn't find what you were looking for, you can create or edit the page named after your query with the appropriate button.

Results


Selective Recursive Copy Script: 6 Hits
===== I had a need to copy certain files from one directory to another. Not __all__ the files, just some tha... r Apparently, specifying a filename instead of a directory causes ''cp'' not to create the directory structu... : cannot stat `sourceDir/*.prop': No such file or directory I'm sure I could have researched this and found ... y finds files (fileMask) located # in the source directory (sourceDir) and copies them # to the destination
How To Use rsync: 6 Hits
s is my quick reference to synchronizing a remote directory with a local one using rsync. First, the scena... g set of files that I want to sync to a different directory on Machine 2. I could login to either machine to... delete'' = delete unneeded files from destination directory Its critical to note that the //source// directory is listed first, and the //destination// directory is synced to it. If you reverse these, the pr
WMA2MP3: 5 Hits
is loops through all the WMA files in the current directory, playing each with ''mplayer'' and encoding them ... p3''. <code> #!/bin/bash # wma2mp3 - converts a directory of *.wma files into *.mp3 files # Chris Freyer 9/2/2009 # chris@thefreyers.net current_directory=$( pwd ) #remove uppercase for i in *.[Ww][Mm][Aa]... </code> Here is the output of running it in a directory that contains a WMA file: <code> cfreyer@frankie
MP3 Organizer script: 4 Hits
y painful to manage hundreds of files in a single directory. So I wrote a simple shell script that parses th... s on disk with long names into more meaningful # directory structures. It can be used with any type of file... , album, song, and year. # 3. creates a suitable directory name: # /destination/artist/album/ # 4. copies the original file to the new directory using only the songname # 5. deletes original file. #
SVN Backup and Restore: 3 Hits
considerable time and disk space. SVN creates a directory for every revision in the repository and outputs the entire directory structure of the project(s) within that directory. One alternative is to creat
SSH Tunneling: 3 Hits
this script as ''reverseTunnel.sh'' in your home directory and run it with ''nohup'' (i.e. ''nohup reverseTu... copy of the script above into the ''/etc/rc3.d'' directory. This will cause it to run when the system goes ... r assigned to the ssh daemon's script in the same directory. * If the reverse tunnel were made to a machi
Log File Tricks: 3 Hits
config file ''/etc/logrotate.conf'' and a config directory ''/etc/logrotate.d'' for storing the rotation sch... /www.linuxjournal.com/video/commandline-101-basic-directory-commands" "Mozilla/5.0 (Windows; U; Windows NT 5.... /www.linuxjournal.com/video/commandline-101-basic-directory-commands" "Mozilla/5.0 (Windows; U; Windows NT 5.
Finding The Targets In A Makefile: 2 Hits
login again, all you have to do is ''cd'' into a directory where a makefile exists, and type ''maketargets''... bash shell - Copy the script to the ''/usr/bin directory'' so everyone on your system (including other scr
Path-Based Authorization in SVN: 2 Hits
dify them. Unfortunately, I cant expose the root directory (''/svn'') because it isn't a repository. Instea... ement. ==== Repository #2 ==== Repository #2 (the directory on disk) contains 2 SVN repositories: ''ecit'' a
How To Backup an Oracle XE Database: 2 Hits
process as root, and it creates a file in my home directory called ''myxebackup.tar.gz''. The backup is comp... er machine for safe keeping, or put it in another directory for later restoration. ===== Hot Backup ===== Hot
Linux: 2 Hits
written. * [[mp3_organizer]] rewrites a flat directory of long mp3 filenames into a meaningful directory structure * [[smart]] sends email updates about the health status of hard drives * [[visitors]]
Ant: 2 Hits
Project.props'' to find the properties. Since no directory name is specified, ant will look for the file in the same directory as the build script. The ''myProject.props'' file should contain key/value pairs
Adding iLBC to Asterisk: 2 Hits
rce.sh cd ../.. cd codecs #the codecs/ilbc directory is empty, so make it a symlink to #the contrib/scripts/codecs/ilbc directory rm -rf ilbc ln -s /usr/src/asterisk-1.4.25/contrib/scripts/codecs
Namespace Security: 2 Hits
exactly what namespaces do. On a hard drive, a //directory// is a namespace. In the Java programming langua... paces in Dokuwiki. Each namespace can point to a directory, a file, or a collection of either. For example,
Smart script: 1 Hits
Fail2Ban: 1 Hits
 
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki