Thursday, December 08, 2016

澳门@M mall

M mall又加新景点,澳门theme,在香港街后面

(google image)
澳门 議事亭前地

(google image)
澳门威尼斯人酒店
爱情巷

敎育用 基礎漢字: 가

중학교용 900 한자
家 (가) 집,자기[jib,jagi ] : 家家戶戶(가가호호)[gagahoho], 國家(국가)[gugga], 畵家(화가)[hwaga]
佳 (가) 아름답다[aleumdabda ] : 佳作(가작)[gajag], 百年佳約(백년가약)[baegnyeongayag]
街 (가) 거리 [geoli ]
可 (가) 옳다[olhda ] : 可能(가능)[ganeung], 可決(가결)[gagyeol], 許可(허가)[heoga]
歌 (가) 노래[nolae ] : 歌曲(가곡)[gagog], 飮酒歌舞(음주가무)[eumjugamu], 校歌(교가)[gyoga]
加 (가) 더하다 [deohada ]: 添加(첨가)[cheomga], 加減乘除(가감승제)[gagamseungje]
價 (가) 값 [gabs]: 定價(정가)[jeong-ga], 呼價(호가)[hoga], 價値(가치)[gachi]
假 (가) 빌리다, 거짓[billida, geojis ] : 假拂(가불)[gabul], 狐假虎威(호가호위)[hogahowi], 假面(가면)[gamyeon]

고등학교용 900 한자
架 (가) 시렁 [sileong ]: 書架(서가)[seoga] ,十字架(십자가)[sibjaga], 架設(가설)[gaseol]
暇 (가)겨를

from
https://ko.wiktionary.org/wiki/%EB%B6%80%EB%A1%9D:%ED%95%9C%EB%AC%B8_%EA%B5%90%EC%9C%A1%EC%9A%A9_%EA%B8%B0%EC%B4%88_%ED%95%9C%EC%9E%90_1800

http://hanja.pe.kr/han_3/h3_index.htm 

My note:
家:家具(가구 ) ,家长 (가장)
可: 可能(가능)
歌:歌曲(가곡),歌手(가수),歌詞(자사)
加:加工(가공),加热(가열하다),加入(가입),加重(가종)
价:价格(가격),價値(가치)








Friday, December 02, 2016

Copy files that older than 2 week using command prompt

朋友问了我这个问题,我就找了找,code了下

我的code
SET Sourcefiles=C:\source
SET destinationfiles=C:\destination

forfiles /p %Sourcefiles% /s /d -14  /c "CMD /c xcopy @path %destinationfiles% /Y" 



Xcopy

Copies files and directories, including subdirectories.

Syntax

xcopy Source [Destination] [/w] [/p] [/c] [/v] [/q] [/f] [/l] [/g] [/d[:mm-dd-yyyy]] [/u] [/i] [/s [/e]] [/t] [/k] [/r] [/h] [{/a|/m}] [/n] [/o] [/x] [/exclude:file1[+[file2]][+[file3]] [{/y|/-y}] [/z]

Parameters

Source   Required. Specifies the location and names of the files you want to copy. This parameter must include either a drive or a path.
Destination   Specifies the destination of the files you want to copy. This parameter can include a drive letter and colon, a directory name, a file name, or a combination of these.
/w   Displays the following message and waits for your response before starting to copy files:
Press any key to begin copying file(s)
/p   Prompts you to confirm whether you want to create each destination file.
/c   Ignores errors.
/v Verifies each file as it is written to the destination file to make sure that the destination files are identical to the source files.
/q   Suppresses the display of xcopy messages.
/f   Displays source and destination file names while copying.
/l   Displays a list of files that are to be copied.
/g   Creates decrypted destination files.
/d [ : mm-dd-yyyy Copies source files changed on or after the specified date only. If you do not include a mm-dd-yyyy value, xcopy copies all Source files that are newer than existing Destination files. This command-line option allows you to update files that have changed.
/u   Copies files from Source that exist on Destination only.
/i   If Source is a directory or contains wildcards and Destination does not exist, xcopy assumes destination specifies a directory name and creates a new directory. Then, xcopy copies all specified files into the new directory. By default, xcopy prompts you to specify whether Destination is a file or a directory.
/s   Copies directories and subdirectories, unless they are empty. If you omit /sxcopy works within a single directory.
/e   Copies all subdirectories, even if they are empty. Use /e with the /s and /t command-line options.
/t   Copies the subdirectory structure (that is, the tree) only, not files. To copy empty directories, you must include the /e command-line option.
/k   Copies files and retains the read-only attribute on destination files if present on the source files. By default, xcopy removes the read-only attribute.
/r   Copies read-only files.
/h   Copies files with hidden and system file attributes. By default, xcopy does not copy hidden or system files.
/a   Copies only source files that have their archive file attributes set. /a does not modify the archive file attribute of the source file. For information about how to set the archive file attribute by using attrib, see Related Topics.
/m   Copies source files that have their archive file attributes set. Unlike /a/m turns off archive file attributes in the filesthat are specified in the source. For information about how to set the archive file attribute by using attrib, see Related Topics.
/n   Creates copies by using the NTFS short file or directory names. /n is required when you copy files or directories from an NTFS volume to a FAT volume or when the FAT file system naming convention (that is, 8.3 characters) is required on the destination file system. The destination file system can be FAT or NTFS.
/o   Copies file ownership and discretionary access control list (DACL) information.
/x   Copies file audit settings and system access control list (SACL) information (implies /o).
/exclude: filename1 [ + [ filename2 ]][ + [ filename3 ]]   : Specifies a list of files containing strings.
/y   Suppresses prompting to confirm that you want to overwrite an existing destination file.
/-y   Prompts to confirm that you want to overwrite an existing destination file.
/z   Copies over a network in restartable mode.
/?   Displays help at the command prompt.


Forfiles

 
Updated: April 17, 2012
Applies To: Windows Vista, Windows Server 2008, Windows Server 2012, Windows 8
Selects and executes a command on a file or set of files. This command is useful for batch processing.
For examples of how to use this command, see Examples.

Syntax

forfiles [/p ] [/m ] [/s] [/c ""] [/d [{+|-}][{|}]]

Parameters

Parameter
Description
/p
Specifies the path from which to start the search. By default, searching starts in the current working directory.
/m
Searches files according to the specified search mask. The default search mask is *.*.
/s
Instructs the forfiles command to search into subdirectories recursively.
/c ""
Runs the specified command on each file. Command strings should be enclosed in quotation marks. The default command is "cmd /c echo @file".
/d [{+|-}][{|}]
Selects files with a last modified date within the specified time frame.
  • Selects files with a last modified date later than or equal to (+) or earlier than or equal to (-) the specified date, where Date is in the format MM/DD/YYYY.
  • Selects files with a last modified date later than or equal to (+) the current date plus the number of days specified, or earlier than or equal to (-) the current date minus the number of days specified.
  • Valid values for Days include any number in the range 0–32,768. If no sign is specified, + is used by default.
/?
Displays help at the command prompt.