Konqueror delete unification

Aaron J. Seigo aseigo at olympusproject.org
Thu Jul 17 01:03:35 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 16 July 2003 06:21, David Faure wrote:
> it), and having some medata info file at the toplevel pointing to a unique
> (random-generated) file/subdir, to solve the problem of conflicting
> filenames

keeping the original filename and appending a random set of letters/numbers 
would achieve both randomness as well as keeping it as `ls` friendly as 
possible .. KTempFile is already capable of this, of course...

> But in addition to the .trash idea (independently from where we move the
> files), metadata info file means lots of features possible, and no
> conflicting filenames.

indeed... thinking about it not just from a filesystem standpoint, ponder a 
structure such as this (as a trivial example):

$TRASHDIR
		\_ fs.metadata
		\_ fs 
			\_ <all files trashed from this partition>
		\_ kmail.metadata
		\_ kmail
			\_ <delete mail msgs>

then kio_trash would need to be able to take URLs such as:

	trash://kmail
	trash://fs/some/deleted/file

the metadata file would make it possible to treat deletions as "transactions", 
allowing one to undelete all the documents that were deleted together (where 
"document" is defined as any trashable item)..

non-document oriented URLs such as:

	trash://kicker/mainpanel/applets/kmix

would also be very attractive, though i'm not sure how such a thing would work 
off the top of my head... i never got that far in the thought process =)

- -- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE: The 'K' is for 'kick ass'
http://www.kde.org       http://promo.kde.org/3.1/feature_guide.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/FefX1rcusafx20MRAnpzAJ0QqfF9XUelwsUUYbBsCl2S76orQwCfaLwf
hspJ52bcdWvEvp6K0cDprzw=
=ep9R
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list