linkdata2sd  Check-in [4655648ee6]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:en modo recover renombra opcion delete por deleteall
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:4655648ee6a371c30f819b943b355faa2aeee31a
User & Date: brau 2016-03-21 00:49:48
Context
2016-03-21
01:30
reportes usage presentaban info viciada por no recorrer enlaces check-in: f929dced50 user: brau tags: trunk
00:49
en modo recover renombra opcion delete por deleteall check-in: 4655648ee6 user: brau tags: trunk
00:21
show snapshot disk usage check-in: 9bd032be5b user: brau tags: trunk
Changes

Changes to linksd.sh.

231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
}

ui_recover_from_sd() {
	#directorio contenedor de versiones
	cd "$SDDIR"
	vers_dir="$SDDIR/$1"
	(cd $vers_dir && ls_vs $vers)
	echo -n "$1 [recoverable] (delete/sh/VERSION): "
	read r
	case "$r" in
		sh)
			(cd "$dir" && sh)
			ui_recover_from_sd "$@"
			;;

		delete)
			deltree "$dir" ||
				error error al intentar eliminar todos los snapshots
			msg "todos los snapshots de $1 se han eliminado"
			;;
		"")
			true
			;;







|







|







231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
}

ui_recover_from_sd() {
	#directorio contenedor de versiones
	cd "$SDDIR"
	vers_dir="$SDDIR/$1"
	(cd $vers_dir && ls_vs $vers)
	echo -n "$1 [recoverable] (deleteall/sh/VERSION): "
	read r
	case "$r" in
		sh)
			(cd "$dir" && sh)
			ui_recover_from_sd "$@"
			;;

		deleteall)
			deltree "$dir" ||
				error error al intentar eliminar todos los snapshots
			msg "todos los snapshots de $1 se han eliminado"
			;;
		"")
			true
			;;