10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Don't really know much about unix or anything, just starting to mess around a little bit to have more understanding in general.
So, I tried using rsync to copy my macbook pro backup/clone from an external drive I have to another external drive. I ended up using...
"sudo rsync -a... (1 Reply)
Discussion started by: cbjeebs
2. Shell Programming and Scripting
I need to select all files that were added to a specific directory in the past 5 mins and copy them over to a different directory. I am using HP-UX OS which does not have support for amin, cmin, and mmin. B/c of this, I am creating a temp file and will use the find -newer command... (7 Replies)
Discussion started by: mattkoz
3. UNIX for Dummies Questions & Answers
Hi all, I am a bit of a beginner with shell scripting..
What I want to do is merge two drives, for example moving all data from X to Y.
If a file in X doesn't exist in Y, it will be moved there.
If a file in X also exists in Y, the most recently modified file will be moved to (or kept) in... (5 Replies)
Discussion started by: apocolapse
4. Shell Programming and Scripting
How to copy files from one directory to another directory with the subfolders copied.
If i have folder1/sub1/sub2/* it needs to copy files to folder2/sub1/sub2/*.
I do not want to create sub folders in folder2.
Can copy command create them automatically?
I tried cp -a and cp -R but did... (4 Replies)
Discussion started by: santosh2626
5. UNIX for Dummies Questions & Answers
Hi there, I am very new to unix and having trouble with a fairly simple statement:
ls -t -c1 | sed -ne '11,$p' | mv xargs archive/
What I want the code to do is sort all files in a directory by timestamp, select all of the files after the 10th file, and then move those files... (3 Replies)
Discussion started by: DSIReady
6. Shell Programming and Scripting
Number of files will get created in a folder automatically daily.. so i hav to delete the older files other than the recently added 5 files..
Could u help me through this..?? (5 Replies)
Discussion started by: shaal89
7. Shell Programming and Scripting
I have the following files
A320_ZONAL_v24_-_AMM_Suffix_jess_2011-05-31.xls Jun 10 17:21
A320_ZONAL_v24_-_AMM_Suffix_jess_.xls Nov 10 17:21
A320_ZONAL_v24_-_AMM_Suffix_jess_2011-03-31.xls Nov 23 20:21
And I need only the more recent one using UNIX timestamp... (2 Replies)
Discussion started by: javeiregh
8. Shell Programming and Scripting
The title says it all. I have a upnp server running fuppes that is connected to my xbox360. In order to see the files on the xbox360 i have to manually update and rebuild the database anytime i add or remove files. I have tried cron jobs to do it every 20 min which works, but if I am streaming... (0 Replies)
Discussion started by: tr6699
9. Shell Programming and Scripting
Is there a shell command that will allow me to list index files in the /home directory for all users on a server that have been updated within the past 24 hours?
(e.g. index.htm .html .php in/home/user1/public_html /home/user2/public_html /home/user3/public_html etc ) (2 Replies)
Discussion started by: Kain
10. Shell Programming and Scripting
I have been toying around with a script that will copy all files altered in a development directory over to a testing directory and have been trying to construct the command to meet my needs.
Basically I am using find in a directory to see what files have changed over the past 24 hours. Then if... (4 Replies)
Discussion started by: scotbuff