CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 18 Jul 2025 06:52:22 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080518204434
location: https://web.archive.org/web/20080518204434/https://examples.oreilly.com/upt2/split/dir_path
server-timing: captures_list;dur=0.633787, exclusion.robots;dur=0.024164, exclusion.robots.policy;dur=0.011241, esindex;dur=0.013197, cdx.remote;dur=144.385619, LoadShardBlock;dur=390.566001, PetaboxLoader3.datanode;dur=188.489370, PetaboxLoader3.resolve;dur=169.621870
x-app-server: wwwb-app217
x-ts: 302
x-tr: 562
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app217; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 18 Jul 2025 06:52:23 GMT
content-type: text/plain
content-length: 492
x-archive-orig-date: Sun, 18 May 2008 20:44:32 GMT
x-archive-orig-server: Apache
x-archive-orig-last-modified: Mon, 31 Mar 2008 18:10:12 GMT
x-archive-orig-etag: "54c3b0-1ec-90194900"
x-archive-orig-accept-ranges: bytes
x-archive-orig-content-length: 492
x-archive-orig-connection: close
cache-control: max-age=1800
x-archive-guessed-content-type: text/plain
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 18 May 2008 20:44:34 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 19 Jun 2002 01:49:33 GMT", ; rel="prev memento"; datetime="Tue, 16 Oct 2007 16:13:27 GMT", ; rel="memento"; datetime="Sun, 18 May 2008 20:44:34 GMT", ; rel="next memento"; datetime="Tue, 10 Feb 2009 08:48:15 GMT", ; rel="last memento"; datetime="Fri, 25 Mar 2016 03:26:22 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_3_20080518193113_crawl107-c/52_3_20080518204242_crawl100.arc.gz
server-timing: captures_list;dur=0.521308, exclusion.robots;dur=0.019014, exclusion.robots.policy;dur=0.009065, esindex;dur=0.010494, cdx.remote;dur=9.495029, LoadShardBlock;dur=225.176709, PetaboxLoader3.resolve;dur=232.335752, PetaboxLoader3.datanode;dur=189.633882, load_resource;dur=201.237408
x-app-server: wwwb-app217
x-ts: 200
x-tr: 459
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
accept-ranges: bytes
#!/bin/sh
#
# usage: dir_path [directory ...]
# Find All Directories With the Same Name - list directory and path to directory
# (default to the argument . (current directory))
#
# You could also use this idea for finding duplicate files. Change
# the `-type d' to `-type f'.
#
# print in the format `base_directory_name full_directory_path'
find ${*-.} -type d -print | awk -F/ '
{
printf ("%s\t%s\n",$NF,$0);
}' | sort # sort to make similar directories adjacent in the output