|
From: | Phil Holmes |
Subject: | Re: Website upload |
Date: | Tue, 7 Mar 2017 14:34:24 -0000 |
To: "Phil Holmes" <address@hidden> Cc: "Urs Liska" <address@hidden>; <address@hidden> Sent: Tuesday, March 07, 2017 1:56 PM Subject: Re: Website upload
"Phil Holmes" <address@hidden> writes:Sorry for top post - as you see my email client doesn't properly indent your reply. Anyway, I've now done the following command: rsync -n -aO -d --no-r --delete -i $BUILD/out-website/website/ $DEST/website/ &>rs.txt Which gives the output in the attached file. I guess this means it would only delete the filenames preceded by "*deleting" - I assume the other files named are just for information?Or update. But I am afraid that for looking at a dry-run, I'd leave off the --no-r (no recursive directory descent) option. The output will be humongous but complete. -- David Kastrup
I did run it to start with without the ---no-r and without redirecting the output. The output I got on my terminal was a load of lines like:
.f...p..... pictures/ties-scoring-example.pngand I was concerned that this meant that those files would be deleted, so I thought it better to restrict it to the root directory. I now understand the output a bit better. I've since repeated it with the recurse option with the result attached. As you see, it would delete a lot of files we want to keep (examples) but it could be possible to use its output as a guide for manual deletion?
--Phil Holmes
rs1.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |