10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I want delete all files from destination folder. I am trying below commands
rsync -avFF --delete-after /home/vizion/source/ /home/vizion/destination/
I need to be delete all file/fodders from destination
Any body have idea ? Please correct me. (3 Replies)
Discussion started by: Chenchireddy
3 Replies
2. Shell Programming and Scripting
OS: SUNOS 5.10 i386
Hello guys I wrote a shell script in bash shell to delete the files less than 30 days old. The following is the script.
=======================================
#!/bin/bash
for dirs in `/clu04/oracle/directory_list.lst`
do
find $dirs -type f -mtime -30 -exec rm {} \;... (3 Replies)
Discussion started by: zacsparrow
3 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have some files in a local directory and perform an rsync command with the files in a remote directory, Now when I checked the files in the local and the remote directory, I found some strange filetypes such as this: .nfs0000000001d0c8e000002ff2 , .fuse_hidden000014da00000001 etc etc,... (3 Replies)
Discussion started by: ajayram
3 Replies
4. UNIX for Advanced & Expert Users
hi All,
i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error:
bash-3.2$ ksh rsync_bravo_db.ksh usa0300uz1247.apps.mc.xerox.com... (0 Replies)
Discussion started by: lovelysethii
0 Replies
5. Shell Programming and Scripting
Hello all,
I have a problem with rsync command.
From a backup server, I use a command like the one below:
rsync -av --delete user@host:/home/user/ /home/backup_user/daily_rotating_backup/
In some folders of the user there are some files on which he has removed his write permission on... (3 Replies)
Discussion started by: freddie50
3 Replies
6. Shell Programming and Scripting
I've got a rsync script that backups file from disk1 to disk3. This works great however if there are extra files on disk3 they do not get deleted by the sync.
I'm syncing all folders from F-J
rsync --progress -v --delete --delete-excluded -av --recursive /home/disk1/Files/*... (0 Replies)
Discussion started by: gmccarthy
0 Replies
7. Shell Programming and Scripting
Hi,
I need to use rsync to delete multiple files(only specified files not all) using --delete option, these files are located in different target folders.
Instead of running rsync command multiple times for each file, can we achieve this with one time execution?
your help is much... (0 Replies)
Discussion started by: MVEERA
0 Replies
8. Shell Programming and Scripting
Hi everyone, and thanks to all for your assistance.
I have a problem with the rsync command. I want to make a backup of a "source" directory in a "destination" directory.
I want to specify:
"absolute path of destination" (identified by a ~): ~/Destination
or a "relative path of... (0 Replies)
Discussion started by: PaganoM
0 Replies
9. UNIX for Advanced & Expert Users
Dear Folks,
I have to backup pgsql database dump everynight on a routine. The database dump actually contains sql(text) statements. The actual size of the database dump is aroung 800 MB. Between two days backup, only few lines of statements are modified/added/deleted.
I dont want to do... (1 Reply)
Discussion started by: rssrik
1 Replies
10. UNIX for Dummies Questions & Answers
Hello friends,
I am compiling some set of SQL scripts in a set of sub directories demoed as below. After compiling log files are being created.
Each and every time after compiling time I had to go subdir by subdir to delete the log files. I am sure there should be simple way to look for all log... (4 Replies)
Discussion started by: adurga
4 Replies