Specific: effect of rm -r /./*System-wide finder view preferencesRecover Deleted Files on Mac OSX [External NTFS]Flawed user permissions: cannot save files or open programsDeleting a 'No such file or directory' fileCan't move items to Trash – resistant to usual fixesDisabling Login Shake EffectDelete all backups of specific file/folder with tmutilmacOS - Bash commands not working as needs to be

Does fossil fuels use since 1990 account for half of all the fossil fuels used in history?

Is there a Morita cocycle for the mapping class group Mod(g,n) when n > 1?

How to remove ambiguity: "... lives in the city of H, the capital of the province of NS, WHERE the unemployment rate is ..."?

Graphs for which a calculus student can reasonably compute the arclength

How much maintenance time did it take to make an F4U Corsair ready for another flight?

Random Double Arc Endpoint Angles

How exactly are corporate bonds priced at issue

Why command hierarchy, if the chain of command is standing next to each other?

How can God warn people of the upcoming rapture without disrupting society?

Is there any way to stop a user from creating executables and running them?

Is there a SQL/english like language that lets you define formulations given some data?

A Non Math Puzzle. What is the middle number?

If a digital camera can be "hacked" in the ransomware sense, how best to protect it?

What is a good class if we remove subclasses?

How to describe accents?

How can I decide if my homebrew item should require attunement?

Are differences between uniformly distributed numbers uniformly distributed?

What are these funnel-looking green things in my yard?

Boss wants me to ignore a software license

How can I export the "available software to download" to a file?

What does the phrase "pull off sick wheelies and flips" mean here?

Is There a Tool to Select Files to Download From an Org in VSCode?

Is 悪いところを見つかった proper Japanese?

Plotting octahedron inside the sphere and sphere inside the cube



Specific: effect of rm -r /./*


System-wide finder view preferencesRecover Deleted Files on Mac OSX [External NTFS]Flawed user permissions: cannot save files or open programsDeleting a 'No such file or directory' fileCan't move items to Trash – resistant to usual fixesDisabling Login Shake EffectDelete all backups of specific file/folder with tmutilmacOS - Bash commands not working as needs to be






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I was trying to delete files inside the current directory with rm -r /./* command. When executed it warned me about removing "...Siri..Application". I kind of panicked, thinking it's trying to delete all files from system and immediately terminated the terminal process.
I want to know if this command deleted any other files. I see most files there and am able to restart iMac so all seems good but just to be sure.



PS: sorry for lack of full warning message. I quickly closed the terminal and not going to try command again to get it.










share|improve this question









New contributor



User 10482 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    That command will indeed try to delete all files from your entire computer. Recent versions of macOS protect many things, leading to errors like the ones you saw. But the errors won't tell you which files it did succeed in deleting, or which ones it hadn't gotten around to trying before you killed it. It's going to be hard to tell what did get deleted until/unless you notice something missing. Check for any 3rd party apps you've installed -- are they all still there?

    – Gordon Davisson
    8 hours ago












  • Looks to be so. I remember few of apps I installed and they are there. Is there any way to output/echo the results of the command to the terminal? Or should I just factory reset? TIA

    – User 10482
    7 hours ago


















1















I was trying to delete files inside the current directory with rm -r /./* command. When executed it warned me about removing "...Siri..Application". I kind of panicked, thinking it's trying to delete all files from system and immediately terminated the terminal process.
I want to know if this command deleted any other files. I see most files there and am able to restart iMac so all seems good but just to be sure.



PS: sorry for lack of full warning message. I quickly closed the terminal and not going to try command again to get it.










share|improve this question









New contributor



User 10482 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    That command will indeed try to delete all files from your entire computer. Recent versions of macOS protect many things, leading to errors like the ones you saw. But the errors won't tell you which files it did succeed in deleting, or which ones it hadn't gotten around to trying before you killed it. It's going to be hard to tell what did get deleted until/unless you notice something missing. Check for any 3rd party apps you've installed -- are they all still there?

    – Gordon Davisson
    8 hours ago












  • Looks to be so. I remember few of apps I installed and they are there. Is there any way to output/echo the results of the command to the terminal? Or should I just factory reset? TIA

    – User 10482
    7 hours ago














1












1








1


1






I was trying to delete files inside the current directory with rm -r /./* command. When executed it warned me about removing "...Siri..Application". I kind of panicked, thinking it's trying to delete all files from system and immediately terminated the terminal process.
I want to know if this command deleted any other files. I see most files there and am able to restart iMac so all seems good but just to be sure.



PS: sorry for lack of full warning message. I quickly closed the terminal and not going to try command again to get it.










share|improve this question









New contributor



User 10482 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I was trying to delete files inside the current directory with rm -r /./* command. When executed it warned me about removing "...Siri..Application". I kind of panicked, thinking it's trying to delete all files from system and immediately terminated the terminal process.
I want to know if this command deleted any other files. I see most files there and am able to restart iMac so all seems good but just to be sure.



PS: sorry for lack of full warning message. I quickly closed the terminal and not going to try command again to get it.







macos command-line






share|improve this question









New contributor



User 10482 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



User 10482 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 6 hours ago









bmike

167k46 gold badges301 silver badges654 bronze badges




167k46 gold badges301 silver badges654 bronze badges






New contributor



User 10482 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 8 hours ago









User 10482User 10482

82 bronze badges




82 bronze badges




New contributor



User 10482 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




User 10482 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • 2





    That command will indeed try to delete all files from your entire computer. Recent versions of macOS protect many things, leading to errors like the ones you saw. But the errors won't tell you which files it did succeed in deleting, or which ones it hadn't gotten around to trying before you killed it. It's going to be hard to tell what did get deleted until/unless you notice something missing. Check for any 3rd party apps you've installed -- are they all still there?

    – Gordon Davisson
    8 hours ago












  • Looks to be so. I remember few of apps I installed and they are there. Is there any way to output/echo the results of the command to the terminal? Or should I just factory reset? TIA

    – User 10482
    7 hours ago













  • 2





    That command will indeed try to delete all files from your entire computer. Recent versions of macOS protect many things, leading to errors like the ones you saw. But the errors won't tell you which files it did succeed in deleting, or which ones it hadn't gotten around to trying before you killed it. It's going to be hard to tell what did get deleted until/unless you notice something missing. Check for any 3rd party apps you've installed -- are they all still there?

    – Gordon Davisson
    8 hours ago












  • Looks to be so. I remember few of apps I installed and they are there. Is there any way to output/echo the results of the command to the terminal? Or should I just factory reset? TIA

    – User 10482
    7 hours ago








2




2





That command will indeed try to delete all files from your entire computer. Recent versions of macOS protect many things, leading to errors like the ones you saw. But the errors won't tell you which files it did succeed in deleting, or which ones it hadn't gotten around to trying before you killed it. It's going to be hard to tell what did get deleted until/unless you notice something missing. Check for any 3rd party apps you've installed -- are they all still there?

– Gordon Davisson
8 hours ago






That command will indeed try to delete all files from your entire computer. Recent versions of macOS protect many things, leading to errors like the ones you saw. But the errors won't tell you which files it did succeed in deleting, or which ones it hadn't gotten around to trying before you killed it. It's going to be hard to tell what did get deleted until/unless you notice something missing. Check for any 3rd party apps you've installed -- are they all still there?

– Gordon Davisson
8 hours ago














Looks to be so. I remember few of apps I installed and they are there. Is there any way to output/echo the results of the command to the terminal? Or should I just factory reset? TIA

– User 10482
7 hours ago






Looks to be so. I remember few of apps I installed and they are there. Is there any way to output/echo the results of the command to the terminal? Or should I just factory reset? TIA

– User 10482
7 hours ago











1 Answer
1






active

oldest

votes


















4














The path you gave rm to delete was /./*. Let’s break this down:




  1. / The root mount point, such as Macintosh HD. This is the root of the disk, therefore an absolute path was given rather than a relative path operating on the current directory.


  2. ./ The current directory, which is now / by the path given so far. /. is equivalent to /, so // is the path so far, except duplicate directory delimiters are combined to a single delimiter, so / so far, the same as step 1.


  3. * Glob all files and folders at this level.

Therefore, the command given was to delete all files and folders starting at the root mount point, i.e. delete all files and folders on the entire volume.



macOS System Integrity Protection will prevent this mischief from causing much damage to the system’s core components, but your own files won’t be protected if you have given full disk access to the Terminal app. I hope you have a backup of the files you need, especially from the beginning of the disk depending when you stopped the command.






share|improve this answer

























  • Unfortunate for me I did not have latest backup. Nevermind though I can start over. The hard part is figuring out what went away. If I may ask, what was the correct command to delete all files recursively in the current folder. (I tried ./* as path which did not work)

    – User 10482
    7 hours ago











  • @User10482 just reinstall the system from recovery hd or internet recovery. That archives the old system, drops a fully functioning one with all built in apps and then migrates all users, settings, data and third party apps. Unless you will pay for professional recovery software or services, getting back the deleted files is somewhat lengthy and not guaranteed if you’ve kept using the system and started overwriting the space where the deleted files were stored.

    – bmike
    6 hours ago











  • @user All you want is step 3, so rm -r * from the correct directory.

    – grg
    5 hours ago











  • And here I thought a * in path would remove everything from the system, and went with different one that actually did. There needs to be a safer way to check the files to be deleted. Thanks for your help everyone. @bmike Thanks for the tip

    – User 10482
    3 hours ago












  • @user10482 rm ./* should work. If it doesn’t please post a new question with details (error messages, files not deleted etc) so we can help.

    – nohillside
    50 mins ago




















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














The path you gave rm to delete was /./*. Let’s break this down:




  1. / The root mount point, such as Macintosh HD. This is the root of the disk, therefore an absolute path was given rather than a relative path operating on the current directory.


  2. ./ The current directory, which is now / by the path given so far. /. is equivalent to /, so // is the path so far, except duplicate directory delimiters are combined to a single delimiter, so / so far, the same as step 1.


  3. * Glob all files and folders at this level.

Therefore, the command given was to delete all files and folders starting at the root mount point, i.e. delete all files and folders on the entire volume.



macOS System Integrity Protection will prevent this mischief from causing much damage to the system’s core components, but your own files won’t be protected if you have given full disk access to the Terminal app. I hope you have a backup of the files you need, especially from the beginning of the disk depending when you stopped the command.






share|improve this answer

























  • Unfortunate for me I did not have latest backup. Nevermind though I can start over. The hard part is figuring out what went away. If I may ask, what was the correct command to delete all files recursively in the current folder. (I tried ./* as path which did not work)

    – User 10482
    7 hours ago











  • @User10482 just reinstall the system from recovery hd or internet recovery. That archives the old system, drops a fully functioning one with all built in apps and then migrates all users, settings, data and third party apps. Unless you will pay for professional recovery software or services, getting back the deleted files is somewhat lengthy and not guaranteed if you’ve kept using the system and started overwriting the space where the deleted files were stored.

    – bmike
    6 hours ago











  • @user All you want is step 3, so rm -r * from the correct directory.

    – grg
    5 hours ago











  • And here I thought a * in path would remove everything from the system, and went with different one that actually did. There needs to be a safer way to check the files to be deleted. Thanks for your help everyone. @bmike Thanks for the tip

    – User 10482
    3 hours ago












  • @user10482 rm ./* should work. If it doesn’t please post a new question with details (error messages, files not deleted etc) so we can help.

    – nohillside
    50 mins ago















4














The path you gave rm to delete was /./*. Let’s break this down:




  1. / The root mount point, such as Macintosh HD. This is the root of the disk, therefore an absolute path was given rather than a relative path operating on the current directory.


  2. ./ The current directory, which is now / by the path given so far. /. is equivalent to /, so // is the path so far, except duplicate directory delimiters are combined to a single delimiter, so / so far, the same as step 1.


  3. * Glob all files and folders at this level.

Therefore, the command given was to delete all files and folders starting at the root mount point, i.e. delete all files and folders on the entire volume.



macOS System Integrity Protection will prevent this mischief from causing much damage to the system’s core components, but your own files won’t be protected if you have given full disk access to the Terminal app. I hope you have a backup of the files you need, especially from the beginning of the disk depending when you stopped the command.






share|improve this answer

























  • Unfortunate for me I did not have latest backup. Nevermind though I can start over. The hard part is figuring out what went away. If I may ask, what was the correct command to delete all files recursively in the current folder. (I tried ./* as path which did not work)

    – User 10482
    7 hours ago











  • @User10482 just reinstall the system from recovery hd or internet recovery. That archives the old system, drops a fully functioning one with all built in apps and then migrates all users, settings, data and third party apps. Unless you will pay for professional recovery software or services, getting back the deleted files is somewhat lengthy and not guaranteed if you’ve kept using the system and started overwriting the space where the deleted files were stored.

    – bmike
    6 hours ago











  • @user All you want is step 3, so rm -r * from the correct directory.

    – grg
    5 hours ago











  • And here I thought a * in path would remove everything from the system, and went with different one that actually did. There needs to be a safer way to check the files to be deleted. Thanks for your help everyone. @bmike Thanks for the tip

    – User 10482
    3 hours ago












  • @user10482 rm ./* should work. If it doesn’t please post a new question with details (error messages, files not deleted etc) so we can help.

    – nohillside
    50 mins ago













4












4








4







The path you gave rm to delete was /./*. Let’s break this down:




  1. / The root mount point, such as Macintosh HD. This is the root of the disk, therefore an absolute path was given rather than a relative path operating on the current directory.


  2. ./ The current directory, which is now / by the path given so far. /. is equivalent to /, so // is the path so far, except duplicate directory delimiters are combined to a single delimiter, so / so far, the same as step 1.


  3. * Glob all files and folders at this level.

Therefore, the command given was to delete all files and folders starting at the root mount point, i.e. delete all files and folders on the entire volume.



macOS System Integrity Protection will prevent this mischief from causing much damage to the system’s core components, but your own files won’t be protected if you have given full disk access to the Terminal app. I hope you have a backup of the files you need, especially from the beginning of the disk depending when you stopped the command.






share|improve this answer













The path you gave rm to delete was /./*. Let’s break this down:




  1. / The root mount point, such as Macintosh HD. This is the root of the disk, therefore an absolute path was given rather than a relative path operating on the current directory.


  2. ./ The current directory, which is now / by the path given so far. /. is equivalent to /, so // is the path so far, except duplicate directory delimiters are combined to a single delimiter, so / so far, the same as step 1.


  3. * Glob all files and folders at this level.

Therefore, the command given was to delete all files and folders starting at the root mount point, i.e. delete all files and folders on the entire volume.



macOS System Integrity Protection will prevent this mischief from causing much damage to the system’s core components, but your own files won’t be protected if you have given full disk access to the Terminal app. I hope you have a backup of the files you need, especially from the beginning of the disk depending when you stopped the command.







share|improve this answer












share|improve this answer



share|improve this answer










answered 7 hours ago









grggrg

143k25 gold badges229 silver badges339 bronze badges




143k25 gold badges229 silver badges339 bronze badges















  • Unfortunate for me I did not have latest backup. Nevermind though I can start over. The hard part is figuring out what went away. If I may ask, what was the correct command to delete all files recursively in the current folder. (I tried ./* as path which did not work)

    – User 10482
    7 hours ago











  • @User10482 just reinstall the system from recovery hd or internet recovery. That archives the old system, drops a fully functioning one with all built in apps and then migrates all users, settings, data and third party apps. Unless you will pay for professional recovery software or services, getting back the deleted files is somewhat lengthy and not guaranteed if you’ve kept using the system and started overwriting the space where the deleted files were stored.

    – bmike
    6 hours ago











  • @user All you want is step 3, so rm -r * from the correct directory.

    – grg
    5 hours ago











  • And here I thought a * in path would remove everything from the system, and went with different one that actually did. There needs to be a safer way to check the files to be deleted. Thanks for your help everyone. @bmike Thanks for the tip

    – User 10482
    3 hours ago












  • @user10482 rm ./* should work. If it doesn’t please post a new question with details (error messages, files not deleted etc) so we can help.

    – nohillside
    50 mins ago

















  • Unfortunate for me I did not have latest backup. Nevermind though I can start over. The hard part is figuring out what went away. If I may ask, what was the correct command to delete all files recursively in the current folder. (I tried ./* as path which did not work)

    – User 10482
    7 hours ago











  • @User10482 just reinstall the system from recovery hd or internet recovery. That archives the old system, drops a fully functioning one with all built in apps and then migrates all users, settings, data and third party apps. Unless you will pay for professional recovery software or services, getting back the deleted files is somewhat lengthy and not guaranteed if you’ve kept using the system and started overwriting the space where the deleted files were stored.

    – bmike
    6 hours ago











  • @user All you want is step 3, so rm -r * from the correct directory.

    – grg
    5 hours ago











  • And here I thought a * in path would remove everything from the system, and went with different one that actually did. There needs to be a safer way to check the files to be deleted. Thanks for your help everyone. @bmike Thanks for the tip

    – User 10482
    3 hours ago












  • @user10482 rm ./* should work. If it doesn’t please post a new question with details (error messages, files not deleted etc) so we can help.

    – nohillside
    50 mins ago
















Unfortunate for me I did not have latest backup. Nevermind though I can start over. The hard part is figuring out what went away. If I may ask, what was the correct command to delete all files recursively in the current folder. (I tried ./* as path which did not work)

– User 10482
7 hours ago





Unfortunate for me I did not have latest backup. Nevermind though I can start over. The hard part is figuring out what went away. If I may ask, what was the correct command to delete all files recursively in the current folder. (I tried ./* as path which did not work)

– User 10482
7 hours ago













@User10482 just reinstall the system from recovery hd or internet recovery. That archives the old system, drops a fully functioning one with all built in apps and then migrates all users, settings, data and third party apps. Unless you will pay for professional recovery software or services, getting back the deleted files is somewhat lengthy and not guaranteed if you’ve kept using the system and started overwriting the space where the deleted files were stored.

– bmike
6 hours ago





@User10482 just reinstall the system from recovery hd or internet recovery. That archives the old system, drops a fully functioning one with all built in apps and then migrates all users, settings, data and third party apps. Unless you will pay for professional recovery software or services, getting back the deleted files is somewhat lengthy and not guaranteed if you’ve kept using the system and started overwriting the space where the deleted files were stored.

– bmike
6 hours ago













@user All you want is step 3, so rm -r * from the correct directory.

– grg
5 hours ago





@user All you want is step 3, so rm -r * from the correct directory.

– grg
5 hours ago













And here I thought a * in path would remove everything from the system, and went with different one that actually did. There needs to be a safer way to check the files to be deleted. Thanks for your help everyone. @bmike Thanks for the tip

– User 10482
3 hours ago






And here I thought a * in path would remove everything from the system, and went with different one that actually did. There needs to be a safer way to check the files to be deleted. Thanks for your help everyone. @bmike Thanks for the tip

– User 10482
3 hours ago














@user10482 rm ./* should work. If it doesn’t please post a new question with details (error messages, files not deleted etc) so we can help.

– nohillside
50 mins ago





@user10482 rm ./* should work. If it doesn’t please post a new question with details (error messages, files not deleted etc) so we can help.

– nohillside
50 mins ago



Popular posts from this blog

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Tom Holland Mục lục Đầu đời và giáo dục | Sự nghiệp | Cuộc sống cá nhân | Phim tham gia | Giải thưởng và đề cử | Chú thích | Liên kết ngoài | Trình đơn chuyển hướngProfile“Person Details for Thomas Stanley Holland, "England and Wales Birth Registration Index, 1837-2008" — FamilySearch.org”"Meet Tom Holland... the 16-year-old star of The Impossible""Schoolboy actor Tom Holland finds himself in Oscar contention for role in tsunami drama"“Naomi Watts on the Prince William and Harry's reaction to her film about the late Princess Diana”lưu trữ"Holland and Pflueger Are West End's Two New 'Billy Elliots'""I'm so envious of my son, the movie star! British writer Dominic Holland's spent 20 years trying to crack Hollywood - but he's been beaten to it by a very unlikely rival"“Richard and Margaret Povey of Jersey, Channel Islands, UK: Information about Thomas Stanley Holland”"Tom Holland to play Billy Elliot""New Billy Elliot leaving the garage"Billy Elliot the Musical - Tom Holland - Billy"A Tale of four Billys: Tom Holland""The Feel Good Factor""Thames Christian College schoolboys join Myleene Klass for The Feelgood Factor""Government launches £600,000 arts bursaries pilot""BILLY's Chapman, Holland, Gardner & Jackson-Keen Visit Prime Minister""Elton John 'blown away' by Billy Elliot fifth birthday" (video with John's interview and fragments of Holland's performance)"First News interviews Arrietty's Tom Holland"“33rd Critics' Circle Film Awards winners”“National Board of Review Current Awards”Bản gốc"Ron Howard Whaling Tale 'In The Heart Of The Sea' Casts Tom Holland"“'Spider-Man' Finds Tom Holland to Star as New Web-Slinger”lưu trữ“Captain America: Civil War (2016)”“Film Review: ‘Captain America: Civil War’”lưu trữ“‘Captain America: Civil War’ review: Choose your own avenger”lưu trữ“The Lost City of Z reviews”“Sony Pictures and Marvel Studios Find Their 'Spider-Man' Star and Director”“‘Mary Magdalene’, ‘Current War’ & ‘Wind River’ Get 2017 Release Dates From Weinstein”“Lionsgate Unleashing Daisy Ridley & Tom Holland Starrer ‘Chaos Walking’ In Cannes”“PTA's 'Master' Leads Chicago Film Critics Nominations, UPDATED: Houston and Indiana Critics Nominations”“Nominaciones Goya 2013 Telecinco Cinema – ENG”“Jameson Empire Film Awards: Martin Freeman wins best actor for performance in The Hobbit”“34th Annual Young Artist Awards”Bản gốc“Teen Choice Awards 2016—Captain America: Civil War Leads Second Wave of Nominations”“BAFTA Film Award Nominations: ‘La La Land’ Leads Race”“Saturn Awards Nominations 2017: 'Rogue One,' 'Walking Dead' Lead”Tom HollandTom HollandTom HollandTom Hollandmedia.gettyimages.comWorldCat Identities300279794no20130442900000 0004 0355 42791085670554170004732cb16706349t(data)XX5557367