From: akhiezer
Sent: Tuesday, January 07, 2014 1:31 AM
To: LFS Support List
Subject: Re: [lfs-support] Patch delete a directory
Hi akhiezer,
Thanks for your reply.
> Is writer/name an empty file, or what? Can you post:
> $ tree -apugsDF old new
Both writer and name are directories. The result of ' tree -apugsDF ' is as
follows
old
|-- [drwxr-xr-x root root 4096 Jan 7 18:32] musician/
| `-- [-rw-r--r-- root root 37 Jan 7 18:32] name
`-- [drwxr-xr-x root root 4096 Jan 7 18:32] writer/
new
|-- [drwxr-xr-x root root 4096 Dec 30 0:45] musician/
| `-- [-rw-r--r-- root root 40 Dec 30 0:23] name
`-- [drwxr-xr-x root root 4096 Dec 30 0:46] writer/
`-- [-rw-r--r-- root root 37 Dec 30 0:50] name
> Can you post what patch.diff contains?
diff -Nru old/musician/name new/musician/name
--- old/musician/name 2014-01-07 18:32:02.000000000 +0000
+++ new/musician/name 2013-12-30 00:23:19.000000000 +0000
@@ -1,5 +1,5 @@
+Beethoven
Strauss
Debussy
-Mozart
+Schubert
Bach
-Schumann
diff -Nru old/writer/name new/writer/name
--- old/writer/name 1970-01-01 00:00:00.000000000 +0000
+++ new/writer/name 2013-12-30 00:50:32.000000000 +0000
@@ -0,0 +1,4 @@
+Emerson
+O.Henry
+Dickenson
+Mark Twain
> Any particular reason why you don't include '-a' flag? (e.g.
> 'LC_ALL=C TZ=UTC0 diff -Naur old new' per recommended format in patch
> man-page. )
I have tried '-a' option with this case, and the results don't have
differences.
--
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page