"./scripts/lib/*"-newer $tmpfile-execTarrvf $bak _file {} \; * RM$tmpfile $ Panax Notoginseng if[-F $bak _file]; Then - Echo "backup file: $bak _file" the fi +#ls-L $bak _folderCall the Shel script:1#!/bin/SH 2Src_folder="/code/git/worksystem/src/main/webapp"3Bak_folder="/users/cnblogs/documents/b2bweb"4Last_modify_date="20151028"5Bak_filename="Root.tar"6 7 SHBackup_f.SH$SRC _folder $bak _folder $last _modify_date $bak _filenameThe original also used find command, have been used, but suddenly i
a 、、、、、 Mac about error---> You cannot copy the item "" because its name is too long or the character is invalid on the volume of the destination----> specific actions--
Open the Terminal (terminal) application.
Type: sudo rm-rfNote: Type a space after "-RF". The command will not execute without a space. Do not press the Return key before step 6.
Open your trash.
From the Edit menu, choose Select All.
Drag all of the contents of the T
If the file or directory has an extended attribute, the LS command, when executed with the-l option, is appended with a character @ after the permission field.If the file or directory has extended security information, when the LS command is executed with the-l option, a character + is appended to the Permissions permission field.
If the file or directory has extendedAttributes, the Permissions field printed by The-l option was followed byA ' @ ' character. Otherwise, if the file or direct
I put the Mac system on a 128G SSD SSD, the results found that my User name folder has more than 20 g of unknown files, but also show that I would like to save some space on the SSD, I would like to use these potentially useful files to my 250G mechanical hard drive.Enter "Go to Folder" via Shift+command+g [~/library/application support], go to this hidden folder
The first use of Apple Mac computer Friends may not be familiar with all aspects of MAC computer operating system, including our most commonly used compression and decompression folder operation, today PC6 Apple Network Small series to bring you on Mac computer how to compress and decompress files and folders using tut
How to share files between Windows, MAC, and Linux through the network
Sharing family files once had a nightmare, even in different Windows versions-not even considering Mac and Linux! But now these operating systems can communicate with each other and share files without s
command to display Mac hidden files: Defaults write Com.apple.finder appleshowallfiles-bool truecommand to hide Mac hidden files: Defaults write Com.apple.finder Appleshowallfiles-bool falseOrcommand to display Mac hidden files: D
Now there are more and more people using Mac OS, but the big department's friends are still installing the dual system. After all, the domestic environment is still used more than the Windows operating system, there is a Mac notebook, but after the boot is the case of Windows. A lot of people in the office when the large department of Windows, but personal use when you want to use the
Of course there are a lot of ways users can create files when they use Macs, but sometimes it takes a terminal command to create a large, blank file, and it's really easy to create a large-capacity blank file in a Mac OS x system. Today we introduce two ways, the first is to use the terminal command line, the second is the use of disk tool application.
To create a bulk file using the terminal command line
When using SVN to manage code, if you submit the original SVN managed project to the new SVN directory, you need to delete all the contents of the. svn file in the original folder, or the direct commit will cause the failure.Note: It is a good idea to copy a new item first and then delete the. svn file under the backup folder. in order to avoid the original SVN project has uncommitted code, resulting in files can not be submitted, resulting in loss an
The last time because of the company's machine to face the reload, began to panic in the Mac file SCP to my desktop. In the bustle of the original to delete a useless folder, the results with RM-RF when the tab, fill out the document did not see the press ENTER, no doubt, the file deleted the wrong. Because the RM command is not to go to the Recycle Bin, even before the deletion of the confirmation will not have, so that a useful folder deleted. Fortu
See how many files and folders are in the directory, in the terminal input
ls|wc-w
See how many files are in the directory, enter in the terminal
ls|wc-c
Look at the number of files under the folder, how many subdirectories, in the terminal input
ls-l|wc-l
If you only want to know th
Parallelsdesktop installing DOS7.1 and sharing files with Mac table of Contents
1. Installing DOS7.1 in Parallels Desktop
2. Configure shared files with Mac
1Installing DOS7.1 in Parallels DesktopPrepare a DOS7.1 ISO installation image, some friends are img files
Sometimes it is necessary to display the hidden files in the system, which is not as convenient as the Windows system in MAC (tick the option to operate) and need to be executed in Terminal:localhost:~ mx$ Defaults Write Com.apple.finder appleshowallfiles-bool true //show localhost:~ mx$ killall Finderlocalhost:~ mx$ Defaults write Com.apple.finder appleshowallfiles-bool false //Hide localhost:~ mx$
Mac iTerm 2 download files from remote upload using rz, szThere are many tools for remote file transfer, such as rz, sz;scp;ftp, and so On. I use the Mac operating system, which can usually be transferred via SCP. however, because the Company's test environment server needs to be accessed via a springboard machine, it is difficult to coordinate machines that cann
The first use of Apple Mac computer Friends may not be familiar with all aspects of MAC computer operating system, including our most commonly used compression and decompression folder operation, today PC6 Apple Network Small series to bring you on Mac computer how to compress and decompress files and folders using tut
1. Ensure the installation of VMware Tools for Mac virtual machinesAfter loading into the system, you can see the two icons for installing and uninstalling VMware Tools in your Mac (click on the VMware Tools disk) and click Install.2. Shared FoldersRight-click your virtual system Settings or vm->settings or ctrl+d, tap Options, select Shared Folders, and then select Always enabled.Add the folders you need t
My Mac has project files and configured PHP and its framework environment, which need to be accessible to Win7 users and can modify files. The premise is two people in a network segment OH ~1. First put my IP address and domain name into the Win7 user's hosts.Address is C:\Windows\system32\drivers\etc\hosts, before you need to change the next Hosts file security
1. Mac installs files from any source
Install software tips file corruption How to handle, open DMG file tips How to deal with corruption, from the untrusted developer how to deal with, MacOS Sierra How to install any source files.
Very sure to tell you that not our package is broken, but Mac users after upgrad
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.