[PR #995] [MERGED] Work with filenames that include spaces #1748

Closed
opened 2026-03-04 02:01:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/995
Author: @jaygooby
Created: 4/2/2019
Status: Merged
Merged: 4/2/2019
Merged by: @gaul

Base: masterHead: master


📝 Commits (1)

  • ddbcec5 Work with filenames that include spaces

📊 Changes

1 file changed (+22 additions, -23 deletions)

View changed files

📝 test/sample_delcache.sh (+22 -23)

📄 Description

Details

• Simplified the stat generation line (single exec, using only stat)
• Quote variables so that the cache directory can also include spaces
• while/read loop to handle spaces in cached files
(IFS was causing problems when all the files were saved into a single variable)
• Replace erroneous exit -1 with exit 1
• Prints current cache size if below supplied maximum


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/995 **Author:** [@jaygooby](https://github.com/jaygooby) **Created:** 4/2/2019 **Status:** ✅ Merged **Merged:** 4/2/2019 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`ddbcec5`](https://github.com/s3fs-fuse/s3fs-fuse/commit/ddbcec5c96d13d95306ef5e34eade947a12f502b) Work with filenames that include spaces ### 📊 Changes **1 file changed** (+22 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `test/sample_delcache.sh` (+22 -23) </details> ### 📄 Description ### Details • Simplified the stat generation line (single exec, using only stat) • Quote variables so that the cache directory can also include spaces • while/read loop to handle spaces in cached files (IFS was causing problems when all the files were saved into a single variable) • Replace erroneous exit -1 with exit 1 • Prints current cache size if below supplied maximum --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1748
No description provided.