Temporary commit (moving computers)
This commit is contained in:
@@ -152,7 +152,10 @@ function help {
|
||||
}
|
||||
function list(){
|
||||
# This function, given a folder, $NOTE, will list the contents of $NOTE.
|
||||
cd "$(dirname "$NOTES_DIR/$NOTE")"
|
||||
# If not given a folder, it will list all notes in the store.
|
||||
|
||||
if [ -z "$NOTEBOOK" ]; then NOTEBOOK="."; fi
|
||||
cd "$(dirname "$NOTES_DIR/$NOTEBOOK")"
|
||||
find . -type f -name "*$EXT" | while read file; do
|
||||
printf "%s\n" "$file"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user