FAQs
En anglais
Oracle Micros
Given below are the simple steps involved in the changing the date created attributes of a file in MAC:
Open Terminal Application
Set the Desired Date Information: Type “touch -t 202210251033”
Get at the File you wish to alter: Open a Finder Window, locate the file you want to change and drag it to the Terminal window
Here is an example of what the line should look like:
touch –t 200005151125 /Volumes/Mac\ HD/Pictures/myfile.jpg
Press enter to make the change
You can use Terminal command for Directory Services to Delete a User Account
Type the following command to list all users.
$ sudo dscl . list /Users
With the account name confirmed, type the following command in the Terminal to delete the account directory entry from your system:
$ sudo dscl . -delete /Users/Account_name
In this command, replace the word “Account_name” with the account name you found and confirmed in above step.After the account is deleted, the user’s home folder will still be on the disk in the /Macintosh HD/Users directory. At this point you can simply delete the directory to fully remove all items that were associated with the removed account.
A ZIP file bundles and, if possible, compresses multiple other files into a convenient and smaller package. However, the ZIP file may still be quite large and cumbersome to transport over the Internet. Split a large ZIP file into multiple parts to allow it to be more easily transported to customers or business partners over the Internet via email or a file-sharing service. You can do this from the terminal window of your OS X Macintosh.

Existing Zip File
Open the Terminal application located in the Applications/Utilities folder or under the Other app group in Launchpad.
Navigate to the folder where the ZIP file you wish to split is located. Use the cd (change directory) command to change folders. For example, enter “cd Documents” to change to the Documents folder from your home folder. Enter “cd My\ Folder” to change to a folder with a space in the name; the backslash escapes the space character and prevent it from being interpreted as the start of a new command. Enter “cd ..” to return to the previous folder. Enter the pwd (present working directory) command to check your current directory.
Enter the following command into the command line and press “Enter” to execute it. The command takes an input ZIP file and splits it into 100MB segments. The segments are titled in the form SplitArchive.zip, SplitArchive.z01, SplitArchive.z02 and so on.
zip MyArchive.zip –out SplitArchive.zip -s 100m
New Zip File
Create a new folder in Finder by selecting “New Folder” from the “File” menu or pressing “Command-Shift-N.”
Move the files you wish to archive into a ZIP file into this folder.
Open the Terminal application.
Navigate to the parent folder containing the folder with the files you wish to zip. For example, if you created a folder named “Q2Results” to archive in your Documents folder, you need to navigate to the Documents folder.
Enter the following command into the command line and click “Enter.” The command archives the folder Q2Results into Q2Results.zip in 50MB segments titled Q2Results.zip, Q2Results.z01, Q2Results.z02 and so on.
zip Q2Results –out Q2Results.zip -s 100m
The Mail app bundled with Mac OS X is an excellent email client, but if you have a giant mailbox that has been in use for a long time you may encounter some peculiar problems with sluggishness, message content issues, and searching irregularities. Usually these issues are of distinct types; search errors where some messages don’t come up in results when you know they should, unusually slow behavior when performing mail searches, or just general mail content problems, where an opened message appears blank, incomplete, corrupt, or is otherwise displayed improperly.
Fortunately these issues are very easy to correct thanks to a two step process of forcibly rebuilding the mailbox, and then forcibly reindexing all messages contained within the OS X Mail app.
Before proceeding, you may wish to consider clearing out the Spam/Junk mail folders contained in Mail app to help speed up both reindexing and rebuilding.
Rebuilding the Mailbox
Rebuilding a mailbox in Mail for Mac OS X is very simple:
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Launch Mail app if you have not done so already
- Pull down the Mailbox menu, then choose “Rebuild”
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Quit out of Mail app and go to the Finder
- Hit Command+Shift+G and go to the following path:
~/Library/Mail/V2/MailData/
- Delete every file that begins with “Envelope Index” (optional but recommended: back up these files to the desktop just in case something goes awry)
- Close the MailData window, then relaunch Mail app to force reindexing
Like rebuilding the mailbox, the reindexing process can also take a while, depending on how large the mailbox is and how much mail is stored on the computer. Be prepared for a lengthy re-indexation if you have tons (thousands+) of messages in Mail app. When finished, try the search or perform the task that you had issues with before and things should be working as usual again.
- Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
- Check and repair the drive by typing
/sbin/fsck -fy
then ↩ enter – as directed by the on-screen text. - Mount the drive as read-write by typing
/sbin/mount -uw /
then ↩ enter. - Remove the Apple Setup Done file by typing
rm /var/db/.AppleSetupDone
then ↩ enter. - Reboot by typing
reboot
then ↩ enter. - Complete the setup process, creating a new admin account.
Open the file /System/Library/CoreServices/SystemVersion.plist in a text editor; this file contains the version of Mac OS X installed on the drive. This file is not present on systems running Mac OS X 10.1.
- Log in as an admin user.
- Open Terminal from the Utilities folder.
- Type or paste this command in Terminal:sudo languagesetup
- Press Return.
- When prompted for a password, enter an administrator account password and press Return.
- A list of available languages is displayed. Type the number that appears next to the language you want to use, then press Return.
- Quit Terminal.
The next time you log out or restart your Mac, the login screen uses the language you set.
WordPress
Given below are the simple steps involved in the changing the date created attributes of a file in MAC:
Open Terminal Application
Set the Desired Date Information: Type “touch -t 202210251033”
Get at the File you wish to alter: Open a Finder Window, locate the file you want to change and drag it to the Terminal window
Here is an example of what the line should look like:
touch –t 200005151125 /Volumes/Mac\ HD/Pictures/myfile.jpg
Press enter to make the change
You can use Terminal command for Directory Services to Delete a User Account
Type the following command to list all users.
$ sudo dscl . list /Users
With the account name confirmed, type the following command in the Terminal to delete the account directory entry from your system:
$ sudo dscl . -delete /Users/Account_name
In this command, replace the word “Account_name” with the account name you found and confirmed in above step.After the account is deleted, the user’s home folder will still be on the disk in the /Macintosh HD/Users directory. At this point you can simply delete the directory to fully remove all items that were associated with the removed account.
A ZIP file bundles and, if possible, compresses multiple other files into a convenient and smaller package. However, the ZIP file may still be quite large and cumbersome to transport over the Internet. Split a large ZIP file into multiple parts to allow it to be more easily transported to customers or business partners over the Internet via email or a file-sharing service. You can do this from the terminal window of your OS X Macintosh.

Existing Zip File
Open the Terminal application located in the Applications/Utilities folder or under the Other app group in Launchpad.
Navigate to the folder where the ZIP file you wish to split is located. Use the cd (change directory) command to change folders. For example, enter “cd Documents” to change to the Documents folder from your home folder. Enter “cd My\ Folder” to change to a folder with a space in the name; the backslash escapes the space character and prevent it from being interpreted as the start of a new command. Enter “cd ..” to return to the previous folder. Enter the pwd (present working directory) command to check your current directory.
Enter the following command into the command line and press “Enter” to execute it. The command takes an input ZIP file and splits it into 100MB segments. The segments are titled in the form SplitArchive.zip, SplitArchive.z01, SplitArchive.z02 and so on.
zip MyArchive.zip –out SplitArchive.zip -s 100m
New Zip File
Create a new folder in Finder by selecting “New Folder” from the “File” menu or pressing “Command-Shift-N.”
Move the files you wish to archive into a ZIP file into this folder.
Open the Terminal application.
Navigate to the parent folder containing the folder with the files you wish to zip. For example, if you created a folder named “Q2Results” to archive in your Documents folder, you need to navigate to the Documents folder.
Enter the following command into the command line and click “Enter.” The command archives the folder Q2Results into Q2Results.zip in 50MB segments titled Q2Results.zip, Q2Results.z01, Q2Results.z02 and so on.
zip Q2Results –out Q2Results.zip -s 100m
The Mail app bundled with Mac OS X is an excellent email client, but if you have a giant mailbox that has been in use for a long time you may encounter some peculiar problems with sluggishness, message content issues, and searching irregularities. Usually these issues are of distinct types; search errors where some messages don’t come up in results when you know they should, unusually slow behavior when performing mail searches, or just general mail content problems, where an opened message appears blank, incomplete, corrupt, or is otherwise displayed improperly.
Fortunately these issues are very easy to correct thanks to a two step process of forcibly rebuilding the mailbox, and then forcibly reindexing all messages contained within the OS X Mail app.
Before proceeding, you may wish to consider clearing out the Spam/Junk mail folders contained in Mail app to help speed up both reindexing and rebuilding.
Rebuilding the Mailbox
Rebuilding a mailbox in Mail for Mac OS X is very simple:
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Launch Mail app if you have not done so already
- Pull down the Mailbox menu, then choose “Rebuild”
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Quit out of Mail app and go to the Finder
- Hit Command+Shift+G and go to the following path:
~/Library/Mail/V2/MailData/
- Delete every file that begins with “Envelope Index” (optional but recommended: back up these files to the desktop just in case something goes awry)
- Close the MailData window, then relaunch Mail app to force reindexing
Like rebuilding the mailbox, the reindexing process can also take a while, depending on how large the mailbox is and how much mail is stored on the computer. Be prepared for a lengthy re-indexation if you have tons (thousands+) of messages in Mail app. When finished, try the search or perform the task that you had issues with before and things should be working as usual again.
- Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
- Check and repair the drive by typing
/sbin/fsck -fy
then ↩ enter – as directed by the on-screen text. - Mount the drive as read-write by typing
/sbin/mount -uw /
then ↩ enter. - Remove the Apple Setup Done file by typing
rm /var/db/.AppleSetupDone
then ↩ enter. - Reboot by typing
reboot
then ↩ enter. - Complete the setup process, creating a new admin account.
Open the file /System/Library/CoreServices/SystemVersion.plist in a text editor; this file contains the version of Mac OS X installed on the drive. This file is not present on systems running Mac OS X 10.1.
- Log in as an admin user.
- Open Terminal from the Utilities folder.
- Type or paste this command in Terminal:sudo languagesetup
- Press Return.
- When prompted for a password, enter an administrator account password and press Return.
- A list of available languages is displayed. Type the number that appears next to the language you want to use, then press Return.
- Quit Terminal.
The next time you log out or restart your Mac, the login screen uses the language you set.
Windows 11
Given below are the simple steps involved in the changing the date created attributes of a file in MAC:
Open Terminal Application
Set the Desired Date Information: Type “touch -t 202210251033”
Get at the File you wish to alter: Open a Finder Window, locate the file you want to change and drag it to the Terminal window
Here is an example of what the line should look like:
touch –t 200005151125 /Volumes/Mac\ HD/Pictures/myfile.jpg
Press enter to make the change
You can use Terminal command for Directory Services to Delete a User Account
Type the following command to list all users.
$ sudo dscl . list /Users
With the account name confirmed, type the following command in the Terminal to delete the account directory entry from your system:
$ sudo dscl . -delete /Users/Account_name
In this command, replace the word “Account_name” with the account name you found and confirmed in above step.After the account is deleted, the user’s home folder will still be on the disk in the /Macintosh HD/Users directory. At this point you can simply delete the directory to fully remove all items that were associated with the removed account.
A ZIP file bundles and, if possible, compresses multiple other files into a convenient and smaller package. However, the ZIP file may still be quite large and cumbersome to transport over the Internet. Split a large ZIP file into multiple parts to allow it to be more easily transported to customers or business partners over the Internet via email or a file-sharing service. You can do this from the terminal window of your OS X Macintosh.

Existing Zip File
Open the Terminal application located in the Applications/Utilities folder or under the Other app group in Launchpad.
Navigate to the folder where the ZIP file you wish to split is located. Use the cd (change directory) command to change folders. For example, enter “cd Documents” to change to the Documents folder from your home folder. Enter “cd My\ Folder” to change to a folder with a space in the name; the backslash escapes the space character and prevent it from being interpreted as the start of a new command. Enter “cd ..” to return to the previous folder. Enter the pwd (present working directory) command to check your current directory.
Enter the following command into the command line and press “Enter” to execute it. The command takes an input ZIP file and splits it into 100MB segments. The segments are titled in the form SplitArchive.zip, SplitArchive.z01, SplitArchive.z02 and so on.
zip MyArchive.zip –out SplitArchive.zip -s 100m
New Zip File
Create a new folder in Finder by selecting “New Folder” from the “File” menu or pressing “Command-Shift-N.”
Move the files you wish to archive into a ZIP file into this folder.
Open the Terminal application.
Navigate to the parent folder containing the folder with the files you wish to zip. For example, if you created a folder named “Q2Results” to archive in your Documents folder, you need to navigate to the Documents folder.
Enter the following command into the command line and click “Enter.” The command archives the folder Q2Results into Q2Results.zip in 50MB segments titled Q2Results.zip, Q2Results.z01, Q2Results.z02 and so on.
zip Q2Results –out Q2Results.zip -s 100m
The Mail app bundled with Mac OS X is an excellent email client, but if you have a giant mailbox that has been in use for a long time you may encounter some peculiar problems with sluggishness, message content issues, and searching irregularities. Usually these issues are of distinct types; search errors where some messages don’t come up in results when you know they should, unusually slow behavior when performing mail searches, or just general mail content problems, where an opened message appears blank, incomplete, corrupt, or is otherwise displayed improperly.
Fortunately these issues are very easy to correct thanks to a two step process of forcibly rebuilding the mailbox, and then forcibly reindexing all messages contained within the OS X Mail app.
Before proceeding, you may wish to consider clearing out the Spam/Junk mail folders contained in Mail app to help speed up both reindexing and rebuilding.
Rebuilding the Mailbox
Rebuilding a mailbox in Mail for Mac OS X is very simple:
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Launch Mail app if you have not done so already
- Pull down the Mailbox menu, then choose “Rebuild”
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Quit out of Mail app and go to the Finder
- Hit Command+Shift+G and go to the following path:
~/Library/Mail/V2/MailData/
- Delete every file that begins with “Envelope Index” (optional but recommended: back up these files to the desktop just in case something goes awry)
- Close the MailData window, then relaunch Mail app to force reindexing
Like rebuilding the mailbox, the reindexing process can also take a while, depending on how large the mailbox is and how much mail is stored on the computer. Be prepared for a lengthy re-indexation if you have tons (thousands+) of messages in Mail app. When finished, try the search or perform the task that you had issues with before and things should be working as usual again.
- Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
- Check and repair the drive by typing
/sbin/fsck -fy
then ↩ enter – as directed by the on-screen text. - Mount the drive as read-write by typing
/sbin/mount -uw /
then ↩ enter. - Remove the Apple Setup Done file by typing
rm /var/db/.AppleSetupDone
then ↩ enter. - Reboot by typing
reboot
then ↩ enter. - Complete the setup process, creating a new admin account.
Open the file /System/Library/CoreServices/SystemVersion.plist in a text editor; this file contains the version of Mac OS X installed on the drive. This file is not present on systems running Mac OS X 10.1.
- Log in as an admin user.
- Open Terminal from the Utilities folder.
- Type or paste this command in Terminal:sudo languagesetup
- Press Return.
- When prompted for a password, enter an administrator account password and press Return.
- A list of available languages is displayed. Type the number that appears next to the language you want to use, then press Return.
- Quit Terminal.
The next time you log out or restart your Mac, the login screen uses the language you set.
Windows 10
Given below are the simple steps involved in the changing the date created attributes of a file in MAC:
Open Terminal Application
Set the Desired Date Information: Type “touch -t 202210251033”
Get at the File you wish to alter: Open a Finder Window, locate the file you want to change and drag it to the Terminal window
Here is an example of what the line should look like:
touch –t 200005151125 /Volumes/Mac\ HD/Pictures/myfile.jpg
Press enter to make the change
You can use Terminal command for Directory Services to Delete a User Account
Type the following command to list all users.
$ sudo dscl . list /Users
With the account name confirmed, type the following command in the Terminal to delete the account directory entry from your system:
$ sudo dscl . -delete /Users/Account_name
In this command, replace the word “Account_name” with the account name you found and confirmed in above step.After the account is deleted, the user’s home folder will still be on the disk in the /Macintosh HD/Users directory. At this point you can simply delete the directory to fully remove all items that were associated with the removed account.
A ZIP file bundles and, if possible, compresses multiple other files into a convenient and smaller package. However, the ZIP file may still be quite large and cumbersome to transport over the Internet. Split a large ZIP file into multiple parts to allow it to be more easily transported to customers or business partners over the Internet via email or a file-sharing service. You can do this from the terminal window of your OS X Macintosh.

Existing Zip File
Open the Terminal application located in the Applications/Utilities folder or under the Other app group in Launchpad.
Navigate to the folder where the ZIP file you wish to split is located. Use the cd (change directory) command to change folders. For example, enter “cd Documents” to change to the Documents folder from your home folder. Enter “cd My\ Folder” to change to a folder with a space in the name; the backslash escapes the space character and prevent it from being interpreted as the start of a new command. Enter “cd ..” to return to the previous folder. Enter the pwd (present working directory) command to check your current directory.
Enter the following command into the command line and press “Enter” to execute it. The command takes an input ZIP file and splits it into 100MB segments. The segments are titled in the form SplitArchive.zip, SplitArchive.z01, SplitArchive.z02 and so on.
zip MyArchive.zip –out SplitArchive.zip -s 100m
New Zip File
Create a new folder in Finder by selecting “New Folder” from the “File” menu or pressing “Command-Shift-N.”
Move the files you wish to archive into a ZIP file into this folder.
Open the Terminal application.
Navigate to the parent folder containing the folder with the files you wish to zip. For example, if you created a folder named “Q2Results” to archive in your Documents folder, you need to navigate to the Documents folder.
Enter the following command into the command line and click “Enter.” The command archives the folder Q2Results into Q2Results.zip in 50MB segments titled Q2Results.zip, Q2Results.z01, Q2Results.z02 and so on.
zip Q2Results –out Q2Results.zip -s 100m
The Mail app bundled with Mac OS X is an excellent email client, but if you have a giant mailbox that has been in use for a long time you may encounter some peculiar problems with sluggishness, message content issues, and searching irregularities. Usually these issues are of distinct types; search errors where some messages don’t come up in results when you know they should, unusually slow behavior when performing mail searches, or just general mail content problems, where an opened message appears blank, incomplete, corrupt, or is otherwise displayed improperly.
Fortunately these issues are very easy to correct thanks to a two step process of forcibly rebuilding the mailbox, and then forcibly reindexing all messages contained within the OS X Mail app.
Before proceeding, you may wish to consider clearing out the Spam/Junk mail folders contained in Mail app to help speed up both reindexing and rebuilding.
Rebuilding the Mailbox
Rebuilding a mailbox in Mail for Mac OS X is very simple:
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Launch Mail app if you have not done so already
- Pull down the Mailbox menu, then choose “Rebuild”
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Quit out of Mail app and go to the Finder
- Hit Command+Shift+G and go to the following path:
~/Library/Mail/V2/MailData/
- Delete every file that begins with “Envelope Index” (optional but recommended: back up these files to the desktop just in case something goes awry)
- Close the MailData window, then relaunch Mail app to force reindexing
Like rebuilding the mailbox, the reindexing process can also take a while, depending on how large the mailbox is and how much mail is stored on the computer. Be prepared for a lengthy re-indexation if you have tons (thousands+) of messages in Mail app. When finished, try the search or perform the task that you had issues with before and things should be working as usual again.
- Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
- Check and repair the drive by typing
/sbin/fsck -fy
then ↩ enter – as directed by the on-screen text. - Mount the drive as read-write by typing
/sbin/mount -uw /
then ↩ enter. - Remove the Apple Setup Done file by typing
rm /var/db/.AppleSetupDone
then ↩ enter. - Reboot by typing
reboot
then ↩ enter. - Complete the setup process, creating a new admin account.
Open the file /System/Library/CoreServices/SystemVersion.plist in a text editor; this file contains the version of Mac OS X installed on the drive. This file is not present on systems running Mac OS X 10.1.
- Log in as an admin user.
- Open Terminal from the Utilities folder.
- Type or paste this command in Terminal:sudo languagesetup
- Press Return.
- When prompted for a password, enter an administrator account password and press Return.
- A list of available languages is displayed. Type the number that appears next to the language you want to use, then press Return.
- Quit Terminal.
The next time you log out or restart your Mac, the login screen uses the language you set.
Windows Server
Given below are the simple steps involved in the changing the date created attributes of a file in MAC:
Open Terminal Application
Set the Desired Date Information: Type “touch -t 202210251033”
Get at the File you wish to alter: Open a Finder Window, locate the file you want to change and drag it to the Terminal window
Here is an example of what the line should look like:
touch –t 200005151125 /Volumes/Mac\ HD/Pictures/myfile.jpg
Press enter to make the change
You can use Terminal command for Directory Services to Delete a User Account
Type the following command to list all users.
$ sudo dscl . list /Users
With the account name confirmed, type the following command in the Terminal to delete the account directory entry from your system:
$ sudo dscl . -delete /Users/Account_name
In this command, replace the word “Account_name” with the account name you found and confirmed in above step.After the account is deleted, the user’s home folder will still be on the disk in the /Macintosh HD/Users directory. At this point you can simply delete the directory to fully remove all items that were associated with the removed account.
A ZIP file bundles and, if possible, compresses multiple other files into a convenient and smaller package. However, the ZIP file may still be quite large and cumbersome to transport over the Internet. Split a large ZIP file into multiple parts to allow it to be more easily transported to customers or business partners over the Internet via email or a file-sharing service. You can do this from the terminal window of your OS X Macintosh.

Existing Zip File
Open the Terminal application located in the Applications/Utilities folder or under the Other app group in Launchpad.
Navigate to the folder where the ZIP file you wish to split is located. Use the cd (change directory) command to change folders. For example, enter “cd Documents” to change to the Documents folder from your home folder. Enter “cd My\ Folder” to change to a folder with a space in the name; the backslash escapes the space character and prevent it from being interpreted as the start of a new command. Enter “cd ..” to return to the previous folder. Enter the pwd (present working directory) command to check your current directory.
Enter the following command into the command line and press “Enter” to execute it. The command takes an input ZIP file and splits it into 100MB segments. The segments are titled in the form SplitArchive.zip, SplitArchive.z01, SplitArchive.z02 and so on.
zip MyArchive.zip –out SplitArchive.zip -s 100m
New Zip File
Create a new folder in Finder by selecting “New Folder” from the “File” menu or pressing “Command-Shift-N.”
Move the files you wish to archive into a ZIP file into this folder.
Open the Terminal application.
Navigate to the parent folder containing the folder with the files you wish to zip. For example, if you created a folder named “Q2Results” to archive in your Documents folder, you need to navigate to the Documents folder.
Enter the following command into the command line and click “Enter.” The command archives the folder Q2Results into Q2Results.zip in 50MB segments titled Q2Results.zip, Q2Results.z01, Q2Results.z02 and so on.
zip Q2Results –out Q2Results.zip -s 100m
The Mail app bundled with Mac OS X is an excellent email client, but if you have a giant mailbox that has been in use for a long time you may encounter some peculiar problems with sluggishness, message content issues, and searching irregularities. Usually these issues are of distinct types; search errors where some messages don’t come up in results when you know they should, unusually slow behavior when performing mail searches, or just general mail content problems, where an opened message appears blank, incomplete, corrupt, or is otherwise displayed improperly.
Fortunately these issues are very easy to correct thanks to a two step process of forcibly rebuilding the mailbox, and then forcibly reindexing all messages contained within the OS X Mail app.
Before proceeding, you may wish to consider clearing out the Spam/Junk mail folders contained in Mail app to help speed up both reindexing and rebuilding.
Rebuilding the Mailbox
Rebuilding a mailbox in Mail for Mac OS X is very simple:
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Launch Mail app if you have not done so already
- Pull down the Mailbox menu, then choose “Rebuild”
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Quit out of Mail app and go to the Finder
- Hit Command+Shift+G and go to the following path:
~/Library/Mail/V2/MailData/
- Delete every file that begins with “Envelope Index” (optional but recommended: back up these files to the desktop just in case something goes awry)
- Close the MailData window, then relaunch Mail app to force reindexing
Like rebuilding the mailbox, the reindexing process can also take a while, depending on how large the mailbox is and how much mail is stored on the computer. Be prepared for a lengthy re-indexation if you have tons (thousands+) of messages in Mail app. When finished, try the search or perform the task that you had issues with before and things should be working as usual again.
- Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
- Check and repair the drive by typing
/sbin/fsck -fy
then ↩ enter – as directed by the on-screen text. - Mount the drive as read-write by typing
/sbin/mount -uw /
then ↩ enter. - Remove the Apple Setup Done file by typing
rm /var/db/.AppleSetupDone
then ↩ enter. - Reboot by typing
reboot
then ↩ enter. - Complete the setup process, creating a new admin account.
Open the file /System/Library/CoreServices/SystemVersion.plist in a text editor; this file contains the version of Mac OS X installed on the drive. This file is not present on systems running Mac OS X 10.1.
- Log in as an admin user.
- Open Terminal from the Utilities folder.
- Type or paste this command in Terminal:sudo languagesetup
- Press Return.
- When prompted for a password, enter an administrator account password and press Return.
- A list of available languages is displayed. Type the number that appears next to the language you want to use, then press Return.
- Quit Terminal.
The next time you log out or restart your Mac, the login screen uses the language you set.
Mac OS
Given below are the simple steps involved in the changing the date created attributes of a file in MAC:
Open Terminal Application
Set the Desired Date Information: Type “touch -t 202210251033”
Get at the File you wish to alter: Open a Finder Window, locate the file you want to change and drag it to the Terminal window
Here is an example of what the line should look like:
touch –t 200005151125 /Volumes/Mac\ HD/Pictures/myfile.jpg
Press enter to make the change
You can use Terminal command for Directory Services to Delete a User Account
Type the following command to list all users.
$ sudo dscl . list /Users
With the account name confirmed, type the following command in the Terminal to delete the account directory entry from your system:
$ sudo dscl . -delete /Users/Account_name
In this command, replace the word “Account_name” with the account name you found and confirmed in above step.After the account is deleted, the user’s home folder will still be on the disk in the /Macintosh HD/Users directory. At this point you can simply delete the directory to fully remove all items that were associated with the removed account.
A ZIP file bundles and, if possible, compresses multiple other files into a convenient and smaller package. However, the ZIP file may still be quite large and cumbersome to transport over the Internet. Split a large ZIP file into multiple parts to allow it to be more easily transported to customers or business partners over the Internet via email or a file-sharing service. You can do this from the terminal window of your OS X Macintosh.

Existing Zip File
Open the Terminal application located in the Applications/Utilities folder or under the Other app group in Launchpad.
Navigate to the folder where the ZIP file you wish to split is located. Use the cd (change directory) command to change folders. For example, enter “cd Documents” to change to the Documents folder from your home folder. Enter “cd My\ Folder” to change to a folder with a space in the name; the backslash escapes the space character and prevent it from being interpreted as the start of a new command. Enter “cd ..” to return to the previous folder. Enter the pwd (present working directory) command to check your current directory.
Enter the following command into the command line and press “Enter” to execute it. The command takes an input ZIP file and splits it into 100MB segments. The segments are titled in the form SplitArchive.zip, SplitArchive.z01, SplitArchive.z02 and so on.
zip MyArchive.zip –out SplitArchive.zip -s 100m
New Zip File
Create a new folder in Finder by selecting “New Folder” from the “File” menu or pressing “Command-Shift-N.”
Move the files you wish to archive into a ZIP file into this folder.
Open the Terminal application.
Navigate to the parent folder containing the folder with the files you wish to zip. For example, if you created a folder named “Q2Results” to archive in your Documents folder, you need to navigate to the Documents folder.
Enter the following command into the command line and click “Enter.” The command archives the folder Q2Results into Q2Results.zip in 50MB segments titled Q2Results.zip, Q2Results.z01, Q2Results.z02 and so on.
zip Q2Results –out Q2Results.zip -s 100m
The Mail app bundled with Mac OS X is an excellent email client, but if you have a giant mailbox that has been in use for a long time you may encounter some peculiar problems with sluggishness, message content issues, and searching irregularities. Usually these issues are of distinct types; search errors where some messages don’t come up in results when you know they should, unusually slow behavior when performing mail searches, or just general mail content problems, where an opened message appears blank, incomplete, corrupt, or is otherwise displayed improperly.
Fortunately these issues are very easy to correct thanks to a two step process of forcibly rebuilding the mailbox, and then forcibly reindexing all messages contained within the OS X Mail app.
Before proceeding, you may wish to consider clearing out the Spam/Junk mail folders contained in Mail app to help speed up both reindexing and rebuilding.
Rebuilding the Mailbox
Rebuilding a mailbox in Mail for Mac OS X is very simple:
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Launch Mail app if you have not done so already
- Pull down the Mailbox menu, then choose “Rebuild”
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Quit out of Mail app and go to the Finder
- Hit Command+Shift+G and go to the following path:
~/Library/Mail/V2/MailData/
- Delete every file that begins with “Envelope Index” (optional but recommended: back up these files to the desktop just in case something goes awry)
- Close the MailData window, then relaunch Mail app to force reindexing
Like rebuilding the mailbox, the reindexing process can also take a while, depending on how large the mailbox is and how much mail is stored on the computer. Be prepared for a lengthy re-indexation if you have tons (thousands+) of messages in Mail app. When finished, try the search or perform the task that you had issues with before and things should be working as usual again.
- Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
- Check and repair the drive by typing
/sbin/fsck -fy
then ↩ enter – as directed by the on-screen text. - Mount the drive as read-write by typing
/sbin/mount -uw /
then ↩ enter. - Remove the Apple Setup Done file by typing
rm /var/db/.AppleSetupDone
then ↩ enter. - Reboot by typing
reboot
then ↩ enter. - Complete the setup process, creating a new admin account.
Open the file /System/Library/CoreServices/SystemVersion.plist in a text editor; this file contains the version of Mac OS X installed on the drive. This file is not present on systems running Mac OS X 10.1.
- Log in as an admin user.
- Open Terminal from the Utilities folder.
- Type or paste this command in Terminal:sudo languagesetup
- Press Return.
- When prompted for a password, enter an administrator account password and press Return.
- A list of available languages is displayed. Type the number that appears next to the language you want to use, then press Return.
- Quit Terminal.
The next time you log out or restart your Mac, the login screen uses the language you set.
Logiciels
Given below are the simple steps involved in the changing the date created attributes of a file in MAC:
Open Terminal Application
Set the Desired Date Information: Type “touch -t 202210251033”
Get at the File you wish to alter: Open a Finder Window, locate the file you want to change and drag it to the Terminal window
Here is an example of what the line should look like:
touch –t 200005151125 /Volumes/Mac\ HD/Pictures/myfile.jpg
Press enter to make the change
You can use Terminal command for Directory Services to Delete a User Account
Type the following command to list all users.
$ sudo dscl . list /Users
With the account name confirmed, type the following command in the Terminal to delete the account directory entry from your system:
$ sudo dscl . -delete /Users/Account_name
In this command, replace the word “Account_name” with the account name you found and confirmed in above step.After the account is deleted, the user’s home folder will still be on the disk in the /Macintosh HD/Users directory. At this point you can simply delete the directory to fully remove all items that were associated with the removed account.
A ZIP file bundles and, if possible, compresses multiple other files into a convenient and smaller package. However, the ZIP file may still be quite large and cumbersome to transport over the Internet. Split a large ZIP file into multiple parts to allow it to be more easily transported to customers or business partners over the Internet via email or a file-sharing service. You can do this from the terminal window of your OS X Macintosh.

Existing Zip File
Open the Terminal application located in the Applications/Utilities folder or under the Other app group in Launchpad.
Navigate to the folder where the ZIP file you wish to split is located. Use the cd (change directory) command to change folders. For example, enter “cd Documents” to change to the Documents folder from your home folder. Enter “cd My\ Folder” to change to a folder with a space in the name; the backslash escapes the space character and prevent it from being interpreted as the start of a new command. Enter “cd ..” to return to the previous folder. Enter the pwd (present working directory) command to check your current directory.
Enter the following command into the command line and press “Enter” to execute it. The command takes an input ZIP file and splits it into 100MB segments. The segments are titled in the form SplitArchive.zip, SplitArchive.z01, SplitArchive.z02 and so on.
zip MyArchive.zip –out SplitArchive.zip -s 100m
New Zip File
Create a new folder in Finder by selecting “New Folder” from the “File” menu or pressing “Command-Shift-N.”
Move the files you wish to archive into a ZIP file into this folder.
Open the Terminal application.
Navigate to the parent folder containing the folder with the files you wish to zip. For example, if you created a folder named “Q2Results” to archive in your Documents folder, you need to navigate to the Documents folder.
Enter the following command into the command line and click “Enter.” The command archives the folder Q2Results into Q2Results.zip in 50MB segments titled Q2Results.zip, Q2Results.z01, Q2Results.z02 and so on.
zip Q2Results –out Q2Results.zip -s 100m
The Mail app bundled with Mac OS X is an excellent email client, but if you have a giant mailbox that has been in use for a long time you may encounter some peculiar problems with sluggishness, message content issues, and searching irregularities. Usually these issues are of distinct types; search errors where some messages don’t come up in results when you know they should, unusually slow behavior when performing mail searches, or just general mail content problems, where an opened message appears blank, incomplete, corrupt, or is otherwise displayed improperly.
Fortunately these issues are very easy to correct thanks to a two step process of forcibly rebuilding the mailbox, and then forcibly reindexing all messages contained within the OS X Mail app.
Before proceeding, you may wish to consider clearing out the Spam/Junk mail folders contained in Mail app to help speed up both reindexing and rebuilding.
Rebuilding the Mailbox
Rebuilding a mailbox in Mail for Mac OS X is very simple:
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Launch Mail app if you have not done so already
- Pull down the Mailbox menu, then choose “Rebuild”
(If you don’t see the Rebuild option or it is greyed out, close any compose windows and select the inbox in the primary Mail app window)
This rebuild process can take a few minutes, or even an hour or more depending on how large your inbox and sent messages folders are.
An important note: this may cause significant bandwidth use for mailboxes configured with IMAP or Exchange, because the locally stored messages are removed and then redownloaded from the remote mail server. That can make this task unsuitable for users who are connected to the internet using a data capped connection, like a smartphone with hotspot.
Repair & Reindex All Messages in Mail app
You may encounter an alert from Mail app telling you that the mailbox must be repaired, but you can also do this manually. This is particularly helpful if the search functions of the Mail app have become unreliable.
- Quit out of Mail app and go to the Finder
- Hit Command+Shift+G and go to the following path:
~/Library/Mail/V2/MailData/
- Delete every file that begins with “Envelope Index” (optional but recommended: back up these files to the desktop just in case something goes awry)
- Close the MailData window, then relaunch Mail app to force reindexing
Like rebuilding the mailbox, the reindexing process can also take a while, depending on how large the mailbox is and how much mail is stored on the computer. Be prepared for a lengthy re-indexation if you have tons (thousands+) of messages in Mail app. When finished, try the search or perform the task that you had issues with before and things should be working as usual again.
- Boot into Single User Mode: Start/restart your Mac. As soon as you hear the startup tone, press and hold ⌘ + S until you see a black screen with white lettering. (If you end up back on the login screen after a flash of the black screen with white lettering, enter your password and it will return to the black screen.)
- Check and repair the drive by typing
/sbin/fsck -fy
then ↩ enter – as directed by the on-screen text. - Mount the drive as read-write by typing
/sbin/mount -uw /
then ↩ enter. - Remove the Apple Setup Done file by typing
rm /var/db/.AppleSetupDone
then ↩ enter. - Reboot by typing
reboot
then ↩ enter. - Complete the setup process, creating a new admin account.
Open the file /System/Library/CoreServices/SystemVersion.plist in a text editor; this file contains the version of Mac OS X installed on the drive. This file is not present on systems running Mac OS X 10.1.
- Log in as an admin user.
- Open Terminal from the Utilities folder.
- Type or paste this command in Terminal:sudo languagesetup
- Press Return.
- When prompted for a password, enter an administrator account password and press Return.
- A list of available languages is displayed. Type the number that appears next to the language you want to use, then press Return.
- Quit Terminal.
The next time you log out or restart your Mac, the login screen uses the language you set.