10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Ok, I'm trying to figure out how to reference a remote file using the rsync --link-dest parameter.
Here is the code I have so far:
# FILESERVER INCREMENTAL BACKUP SCRIPT
# Remove previous log file
# Set daily variables
DAY0=`date -I`... (6 Replies)
Discussion started by: Orionizer
2. Shell Programming and Scripting
I have a quite simple question about how to manipulate "makefile.am". I intend to:
1. "CFLAGS" and "CXXFLAGS" have no value at all. I know that these values get "-g -O2" by default. On the other hand, when I try to set them as "CFLAGS = " in "makefile.am", I get warning messages... (4 Replies)
Discussion started by: Dandan
3. Shell Programming and Scripting
I have a Makefile where I need to use an environment variable that I set, MYBUILDPATH. The variable can be different depending on the computer, but it always ends with /myBuildRoot/data_tables. Sometimes the data_tables directory will have a slash after it, sometimes not, depending... (2 Replies)
Discussion started by: Zel2008
4. UNIX for Dummies Questions & Answers
I'm trying to keep backups of my home directory (i.e. back it up every day or so) using rsync with link-dest.
This is how I do it,
rsync -avh --delete --link-dest=/media/disk/oldbackup/ /home/user/ /media/disk/newbackup
rm -f /media/disk/oldbackup
ln -s newbackup... (1 Reply)
Discussion started by: lost.identity
5. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
6. IP Networking
I have 2 different id's for an ftp destination. Each id handles files differently on the destinations end. Is it possible to have one destination machine and assign an alias name for each id. The .netrc file doesn't allow this. (2 Replies)
Discussion started by: wangotango
7. UNIX for Advanced & Expert Users
I have 2 libraries in 2 different directories that I build with Makefiles.
library B depends on library A. If I modify a .cpp file in library A and run lib B's Makefile can I have B's makefile to automatically rebuild library A?
I am now rebuilding A, followed by B... but I'd like B to... (0 Replies)
Discussion started by: wwuster
8. UNIX for Dummies Questions & Answers
I have been experimenting with rsync as a scriptable backup option, reading various example and tips pages, including Time Machine for every Unix out there - IMHO
That page seems to describe the exact behavior I want: The ability to make a "full backup" snapshot regularly, but with rsync... (0 Replies)
Discussion started by: fitzwilliam
9. UNIX for Advanced & Expert Users
Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error:
make: module: command not found
Why is this? Is there any way to run this command in a Makefile?
NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
10. UNIX for Dummies Questions & Answers
I what to write a make file that inside a target I want to check if a directory exists.
### make end
Thanks a lot
---------------------- (2 Replies)
Discussion started by: zivsegal