Recovering files deleted by rsync

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I entered the command



rsync -rltpHS --delete-excluded rsync://ftp.gnu.org/gnu/ /your/dir/


with /your/dir/ as my home directory, which resulted in all of my files being deleted and replaced with the contents of the gnu server. Can someone explain what exactly the command does, and just how grim my prospects for file recovery are?







share|improve this question


















  • 4




    --delete-excluded will delete any files not explicitly included or found in the source location. Your prospects for recovery likely lie within an analysis of your backup regimen.
    – DopeGhoti
    Oct 16 '17 at 16:05










  • or, possibly, filesystem or data recovery tools for what data can be salvaged probably without filenames, but backups are a lot better to have
    – thrig
    Oct 16 '17 at 16:23














up vote
1
down vote

favorite












I entered the command



rsync -rltpHS --delete-excluded rsync://ftp.gnu.org/gnu/ /your/dir/


with /your/dir/ as my home directory, which resulted in all of my files being deleted and replaced with the contents of the gnu server. Can someone explain what exactly the command does, and just how grim my prospects for file recovery are?







share|improve this question


















  • 4




    --delete-excluded will delete any files not explicitly included or found in the source location. Your prospects for recovery likely lie within an analysis of your backup regimen.
    – DopeGhoti
    Oct 16 '17 at 16:05










  • or, possibly, filesystem or data recovery tools for what data can be salvaged probably without filenames, but backups are a lot better to have
    – thrig
    Oct 16 '17 at 16:23












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I entered the command



rsync -rltpHS --delete-excluded rsync://ftp.gnu.org/gnu/ /your/dir/


with /your/dir/ as my home directory, which resulted in all of my files being deleted and replaced with the contents of the gnu server. Can someone explain what exactly the command does, and just how grim my prospects for file recovery are?







share|improve this question














I entered the command



rsync -rltpHS --delete-excluded rsync://ftp.gnu.org/gnu/ /your/dir/


with /your/dir/ as my home directory, which resulted in all of my files being deleted and replaced with the contents of the gnu server. Can someone explain what exactly the command does, and just how grim my prospects for file recovery are?









share|improve this question













share|improve this question




share|improve this question








edited Oct 16 '17 at 16:14









Jeff Schaller

32.1k849109




32.1k849109










asked Oct 16 '17 at 16:04









Claire

61




61







  • 4




    --delete-excluded will delete any files not explicitly included or found in the source location. Your prospects for recovery likely lie within an analysis of your backup regimen.
    – DopeGhoti
    Oct 16 '17 at 16:05










  • or, possibly, filesystem or data recovery tools for what data can be salvaged probably without filenames, but backups are a lot better to have
    – thrig
    Oct 16 '17 at 16:23












  • 4




    --delete-excluded will delete any files not explicitly included or found in the source location. Your prospects for recovery likely lie within an analysis of your backup regimen.
    – DopeGhoti
    Oct 16 '17 at 16:05










  • or, possibly, filesystem or data recovery tools for what data can be salvaged probably without filenames, but backups are a lot better to have
    – thrig
    Oct 16 '17 at 16:23







4




4




--delete-excluded will delete any files not explicitly included or found in the source location. Your prospects for recovery likely lie within an analysis of your backup regimen.
– DopeGhoti
Oct 16 '17 at 16:05




--delete-excluded will delete any files not explicitly included or found in the source location. Your prospects for recovery likely lie within an analysis of your backup regimen.
– DopeGhoti
Oct 16 '17 at 16:05












or, possibly, filesystem or data recovery tools for what data can be salvaged probably without filenames, but backups are a lot better to have
– thrig
Oct 16 '17 at 16:23




or, possibly, filesystem or data recovery tools for what data can be salvaged probably without filenames, but backups are a lot better to have
– thrig
Oct 16 '17 at 16:23















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398450%2frecovering-files-deleted-by-rsync%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f398450%2frecovering-files-deleted-by-rsync%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)