403Webshell
Server IP : 185.11.201.71  /  Your IP : 192.168.7.18
Web Server : Apache/2.4.29 (Ubuntu)
System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : tech ( 1000)
PHP Version : 7.4.28
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/shotwell/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/shotwell/shotwell-settings-migrator
#!/bin/sh

################################################################################
#
# Copyright 2016 Software Freedom Conservancy Inc.
#
# This software is licensed under the GNU LGPL (version 2.1 or later).
# See the COPYING file in this distribution.
#
# Helper script to copy settings data from /apps/shotwell/ to
#   /org/yorba/shotwell/
#
# NOTE: this should only be run ONCE as part of the upgrade process; otherwise,
#   any stale data in the old location may be inadvertently copied over again,
#   overwriting newer data.
#
################################################################################

sec_since_epoch=`date +%s`
temp_file_path_prefix=/tmp/shotwell-migrate-settings-path-
temp_file_path=$temp_file_path_prefix$sec_since_epoch

# Copy from deprecated path...
dconf dump /apps/shotwell/ > $temp_file_path

# ...and into officially-blessed one.
dconf load /org/yorba/shotwell/ < $temp_file_path

# Clean out the stale paths...
dconf reset -f /apps/shotwell/

# temp file not needed anymore, zap it.
rm -f $temp_file_path

Youez - 2016 - github.com/yon3zu
LinuXploit