04-06-2011
Yeah, I always put that z in there by habit. Good thinking with the --dry-run.
-a is the same as -rlptgoD so -r isn't needed.
This User Gave Thanks to Nevyn For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
System: Ubuntu Intrepid Ibex
I'm running webcamd as a sort of "security" program, but I need a script that will archive my webcam.jpg files.
So, take the following file:
/home/slag/www/webcam.jpg
Rename it--preferably with a time stamp.
Place it in say:
/home/slag/www/history/
... (4 Replies)
Discussion started by: robfindlay
4 Replies
2. Shell Programming and Scripting
Basically it's for a work assignment.
Have to make a menu with the following choices
***************menu*********************
1) Show Current Directory
2) Dispaly Current Time and Date
3) Copy
4) Change Password
5) write directory to file
6) Edit File Directory
7) Make backup from... (1 Reply)
Discussion started by: Covax
1 Replies
3. Shell Programming and Scripting
Hi, I have a bunch of media files in a directory that have been converted (from MTS to MOV format), so my directory contains something like this:
clip1.mts
clip1.mov
clip2.mts
clip2.mov
The problem is that the .mov files that have been created have the timestamps of the conversion task,... (2 Replies)
Discussion started by: Krakus
2 Replies
4. Shell Programming and Scripting
Hello,
I have written a script to copy files from one partion to another. Not sure if this is correct.
#!/bin/sh
CDR_SOURCE=/storage/archive/logmgmt/result/billing/
CDR_DEST=/storage4/archive/logmgmt/result/billing/
cp $CDR_SOURCE $CDR_DEST;
exit 0
The CDR_SOURCE folder has... (5 Replies)
Discussion started by: Siddheshk
5 Replies
5. Shell Programming and Scripting
Beginner/Intermediate shell; comfortable in the command line.
I have been looking for a solution to a backup problem. I need to compare Directory 1 to Directory 2 and copy all modified or new files/directories from Directory 1 to Directory 3. I need the directory and file structure to be... (4 Replies)
Discussion started by: Rod
4 Replies
6. Shell Programming and Scripting
Hi
I have the following script to copy files from one directory to another:
#!/bin/sh
touch -mt 201304240000 /var/tmp/ref1
touch -mt 201305152359 /var/tmp/ref2
find /moneta_collected02/in_psl -type f \( -newer /var/tmp/ref1 -a ! -newer /var/tmp/ref2 \) > file_lst
cp -pr $(< file_lst)... (6 Replies)
Discussion started by: fretagi
6 Replies
7. Shell Programming and Scripting
Our Apache log files are written to a location on the server that we as clients have no access. Don't ask.
Every month, I have to e-mail the administrator to have him manually copy our Apache log files to a directory in our file space. You can probably guess how efficient it is to do things this... (3 Replies)
Discussion started by: gregraven
3 Replies
8. Shell Programming and Scripting
Hello,
Trying to get a bash for files received on daily basis and want to copy those files to different directory and send an email notification if file exists then send the file counts else Alert with no file received.
FileName format: DailyTransaction_2015-03-09_ 200.csv before 200 their is... (1 Reply)
Discussion started by: krux_rap
1 Replies
9. Programming
hi all,
i want a program or to make a bash script to find out the total ETA/percent (would be nice aswell a progress bar) of a copy recursive command
so lets say i do -
cp -r /source_folder/ /destinatation_folder/
and when i run it i get no information on the screen of how the copy is... (20 Replies)
Discussion started by: robertkwild
20 Replies
10. Shell Programming and Scripting
The bash executes but returns no results and the set -xv showed while the $run variable in blue, was extracted correctly, the $match value in green, was not, rather both values in home/cmccabe/Desktop/f1 were extracted not just the matching.
There will always be an exact match from the $run to... (7 Replies)
Discussion started by: cmccabe
7 Replies
BAM(1) User Commands BAM(1)
NAME
bam - fast and flexible build system
SYNOPSIS
bam [OPTION]... [VARIABLE=VALUE]... [TARGET]...
DESCRIPTION
Builds applications using the bam build system.
Execution:
-a abort on error
-c clean targets
-d build targets that is dependent given targets
--dry dry run, don't run any jobs
-j sets the number of threads to use (default: 0, disabled)
-s bam file to use (default: bam.lua)
Lua:
-l print local variables in backtrace
-t print backtrace when an error occurs
Output:
-r build progress report format (default: s) b = progress bar c = use ansi colors s = build steps
-v be verbose
Other:
-n don't use cache
-h, --help
prints this help
Debug:
--debug-nodes
prints all the nodes with dependencies
--debug-detail
prints all the nodes with dependencies and details
--debug-jobs
prints all the jobs that exist
--debug-dot
prints all nodes as a graphviz dot file
--debug-jobs-dot
prints all jobs as a graphviz dot file
--debug-trace-vm
prints a line for every instruction the vm makes
--debug-dump-int
prints the internals scripts to stdout
--debug-no-int
don't load internal scripts
bam by Magnus Auvinen (magnus.auvinen@gmail.com)
bam May 2011 BAM(1)