Can someone help?
I need to list all folders with name "cache" in ~/ folder and put all that folders on RAMDISK.
I tried this, but it didnt't work:
sudo find ~/ -type d -name 'cache' -exec mount -t tmpfs -o size=200m tmpfs {} +
-----------------------------------------------------------------------------------------------------------------------------------
EDIT:
It's my mistake:
To mount:
sudo find ~/ -type d -name 'cache' -exec mount -t tmpfs -o size=1000m tmpfs {} \;
To unmount:
sudo find ~/ -type d -name 'cache' -exec umount -f {} \;
I will close thread as Solved.
Find all cache folders and put it in ramdisk [ SOLVED]
Forum rules
Before you post please read how to get help
Before you post please read how to get help
Jump to
- Important Notices
- ↳ Rules & Notices
- ↳ Releases & Announcements
- ↳ Main Edition Support
- ↳ Newbie Questions
- ↳ Installation & Boot
- ↳ Software & Applications
- ↳ Virtualization
- ↳ Hardware Support
- ↳ Mounting Partitions
- ↳ Printers & Scanners
- ↳ Graphics Cards & Monitors
- ↳ Networking
- ↳ Ethernet
- ↳ Wireless
- ↳ Other networking topics
- ↳ Desktops & Window Managers
- ↳ Cinnamon
- ↳ MATE
- ↳ Xfce
- ↳ KDE
- ↳ Others
- ↳ Other topics
- ↳ Non-technical Questions
- ↳ Sound, Multimedia, & Codecs
- ↳ Tutorials
- Debian Edition Support
- ↳ LMDE Forums
- ↳ Newbie Questions
- ↳ Installation & Boot
- ↳ Software & Applications
- ↳ Hardware Support
- ↳ Networking
- ↳ Tutorials
- ↳ Other Topics & Open Discussion
- ↳ LMDE Archive
- Personalize and Customize Linux Mint
- ↳ Themes, Icons, & Wallpaper
- ↳ Desktop Screenshots
- ↳ Compiz, Conky, Docks, & Widgets
- ↳ Scripts & Bash
- Chat
- ↳ Introduce yourself
- ↳ Chat about Linux Mint
- ↳ About Mint Editions
- ↳ Chat about Linux
- ↳ Open chat
- ↳ Gaming on Linux Mint
- Development
- ↳ Artwork
- ↳ Community Projects
- ↳ Promotion
- ↳ Suggestions & New Ideas
- ↳ Translations
- Languages
- ↳ Français (French)
- ↳ Deutsch (German)
- ↳ Italiano (Italian)
- ↳ Español (Spanish)
- ↳ Other Languages
- ↳ Nederlands (Dutch)
- ↳ Suomi (Finnish)
- ↳ Norsk (Norwegian)
- ↳ Polski (Polish)
- ↳ Português (Portuguese)
- ↳ Русский (Russian)