Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #195540
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Running of rrequested tests - [was Re: Backup problem using "cp"] |
| Date | 2018-05-09 22:30 +0200 |
| Message-ID | <vNDSN-88L-3@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <vMN7R-11n-31@gated-at.bofh.it> <vNczf-ce-1@gated-at.bofh.it> <vNd2h-lH-5@gated-at.bofh.it> <vNeUp-1tU-1@gated-at.bofh.it> <vNnkZ-6BN-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue 08 May 2018 at 22:39:55 (-0400), The Wanderer wrote:
> On 2018-05-08 at 13:48, Richard Owlett wrote:
>
> > On 05/08/2018 10:38 AM, The Wanderer wrote:
>
> >> Have you tried
> >>
> >> stat /home/richard/.local/share/Trash/expunged/1449727740/grub2
> >> problem-2018-02-13/
> >>
> >> and/or a 'ls' of the same directory?
> >
> > After adding required quotation marks:
>
> Yes, sorry about that - I noticed it after hitting Send.
>
> >> richard@debian-jan13:~$ stat "/home/richard/.local/share/Trash/expunged/1449727740/grub2 problem-2018-02-13/"
> >> File: /home/richard/.local/share/Trash/expunged/1449727740/grub2 problem-2018-02-13/
> >> Size: 4096 Blocks: 8 IO Block: 4096 directory
> >> Device: 80eh/2062d Inode: 141462 Links: 3
>
> Just for the sake of exhaustiveness, can you check the next level down,
> and confirm that it actually does have a different inode?
>
> >> Access: (0700/drwx------) Uid: ( 1000/ richard) Gid: ( 1000/ richard)
> >> Access: 2018-05-08 08:10:45.509914304 -0500
> >> Modify: 2018-03-06 09:41:14.972933512 -0600
> >> Change: 2018-05-07 04:50:02.664296985 -0500
> >> Birth: -
>
> As David Wright points out, this indicates that this was last modified
> in early March, which should mean that it can't have been deleted in the
> meantime.
>
> >> Since we've apparently confirmed that /media/richard/MISC-backups/
> >> is on a separate filesystem from /, it really looks to me as if
> >> this too-deep directory chain may exist within the source tree, in
> >> some form.
> >>
> >> The only comment I've found from you on this point seems to be a
> >> statement that yes, such a chain existed, but after you deleted it,
> >> it came back the next time you tried the copy.
> >
> > That is correct. Also I did the same before running today's test.
>
> What method are you using to delete it?
>
> If you haven't already, I'd recommend trying 'rm -r', *very* carefully,
> from a command prompt. (Unless you have an extremely unusual setup, that
> should avoid any possibility of an intermediary "Trash" to need emptying.)
As you're deleting a chain of directories, the appropriate command is rmdir.
This bash function might prove useful:
remove-empties ()
{
[ -z "$1" ] && printf '%s\n' "Usage: $FUNCNAME directories ...
removes any empty directories under the directories given after prompting." 1>&2 && return 1;
local IFS="
";
find $* -depth -xdev -type d -empty -ok rmdir {} \;
}
though you could, for now, just cut and paste this line:
find /home/richard/.local/share/Trash/expunged/1449727740/ -depth -xdev -type d -empty -ok rmdir {} \;
Having to type y 161 times might serve as punishment :)
Alternatively, there's this function:
remove-empties-unprompted ()
{
[ -z "$1" ] && printf '%s\n' "Usage: $FUNCNAME directories ...
removes any empty directories under the directories given WITHOUT prompting." 1>&2 && return 1;
local IFS="
";
find $* -depth -xdev -type d -empty -print -exec rmdir {} \;
}
which does the job more quickly. Remove the "-print" if you want it
done silently too.
(To Greg: is there a better IFS to use?)
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-06 16:30 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-06 16:40 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-06 16:50 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-06 17:20 +0200
Re: Backup problem using "cp" Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-05-06 17:30 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 13:40 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-07 14:10 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 15:10 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-07 15:30 +0200
Re: Backup problem using "cp" Bob Weber <bobrweber@gmail.com> - 2018-05-07 16:00 +0200
Re: Backup problem using "cp" Dan Norton <dnorton@mindspring.com> - 2018-05-07 16:50 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 16:10 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-08 03:10 +0200
Re: Backup problem using "cp" Kushal Kumaran <kushal@locationd.net> - 2018-05-07 19:20 +0200
Re: Backup problem using "cp" Jude DaShiell <jdashiel@panix.com> - 2018-05-07 20:00 +0200
Running of rrequested tests - [was Re: Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-08 17:20 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-08 17:50 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-08 19:40 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-08 22:30 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-09 14:00 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-09 15:00 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] The Wanderer <wanderer@fastmail.fm> - 2018-05-08 17:50 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-08 19:50 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] The Wanderer <wanderer@fastmail.fm> - 2018-05-09 04:50 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] Richard Owlett <rowlett@cloud85.net> - 2018-05-09 14:30 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] The Wanderer <wanderer@fastmail.fm> - 2018-05-09 14:50 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] Richard Hector <richard@walnut.gen.nz> - 2018-05-09 15:00 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] David Wright <deblis@lionunicorn.co.uk> - 2018-05-09 22:30 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] Greg Wooledge <wooledg@eeg.ccf.org> - 2018-05-09 22:40 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] David Wright <deblis@lionunicorn.co.uk> - 2018-05-10 16:00 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] The Wanderer <wanderer@fastmail.fm> - 2018-05-10 05:00 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] David Wright <deblis@lionunicorn.co.uk> - 2018-05-10 16:20 +0200
Re: Running of rrequested tests - [was Re: Backup problem using "cp"] David Wright <deblis@lionunicorn.co.uk> - 2018-05-08 21:50 +0200
Re: Backup problem using "cp" Dan Purgert <dan@djph.net> - 2018-05-07 14:10 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 15:00 +0200
Re: Backup problem using "cp" Dan Purgert <dan@djph.net> - 2018-05-07 15:20 +0200
Re: Backup problem using "cp" Andy Smith <andy@strugglers.net> - 2018-05-07 15:30 +0200
Re: Backup problem using "cp" "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-07 16:00 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 16:20 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-08 03:20 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 16:10 +0200
Re: Backup problem using "cp" David Griffith <dave@661.org> - 2018-05-07 15:00 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 15:50 +0200
Re: Backup problem using "cp" Richard Hector <richard@walnut.gen.nz> - 2018-05-07 16:00 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-07 16:40 +0200
Re: Backup problem using "cp" Charlie Gibbs <cgibbs@surfnaked.ca> - 2018-05-07 20:30 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-08 03:00 +0200
Re: Backup problem using "cp" Dan Purgert <dan@djph.net> - 2018-05-06 16:50 +0200
Re: Backup problem using "cp" Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-05-06 17:40 +0200
Re: Backup problem using "cp" Richard Owlett <rowlett@cloud85.net> - 2018-05-06 21:00 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-07 00:00 +0200
Re: Backup problem using "cp" Jonathan Dowland <jmtd@debian.org> - 2018-05-10 10:30 +0200
Re: Running of rrequested tests - [was Backup problem using "cp"] "Thomas Schmitt" <scdbackup@gmx.net> - 2018-05-10 11:30 +0200
Re: Backup problem using "cp" David Wright <deblis@lionunicorn.co.uk> - 2018-05-10 15:40 +0200
SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 15:10 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} <tomas@tuxteam.de> - 2018-05-11 15:20 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 15:30 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} <tomas@tuxteam.de> - 2018-05-11 17:30 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Curt <curty@free.fr> - 2018-05-11 17:40 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 19:30 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Gene Heskett <gheskett@shentel.net> - 2018-05-11 19:50 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 22:30 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-05-11 16:50 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 20:00 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Pascal Hambourg <pascal@plouf.fr.eu.org> - 2018-05-11 21:50 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} Richard Owlett <rowlett@cloud85.net> - 2018-05-11 22:40 +0200
Re: SUCCESS!!!! - was {Re: Backup problem using "cp"} David Wright <deblis@lionunicorn.co.uk> - 2018-05-11 17:30 +0200
csiph-web